mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-04 03:13:20 -05:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: Workshop
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
linter:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: GLua Linter
|
|
uses: TASSIA710/action-glua-lint@v1.1.4
|
|
with:
|
|
lint_maxScopeDepth: 99
|
|
lint_deprecated: false
|
|
lint_emptyBlocks: false
|
|
lint_unusedParameters: false
|
|
lint_unusedLoopVars: false
|
|
lint_shadowing: false
|
|
lint_inconsistentVariableStyle: false
|
|
|
|
# Creates a GMA and publishes it to the Steam Workshop
|
|
workshop-publish:
|
|
needs: linter
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Publish to Steam Workshop
|
|
uses: Earu/GSW-action@V3.1.12
|
|
with:
|
|
account-name: ${{secrets.STEAM_NAME}}
|
|
account-password: ${{secrets.STEAM_PASSWORD}}
|
|
account-secret: ${{secrets.STEAM_SECRET}}
|
|
workshop-id: '1182471500'
|
|
addon-path: ${{env.GITHUB_WORKSPACE}}
|