1
0
mirror of https://github.com/Earu/EasyChat.git synced 2025-03-04 03:13:20 -05:00

split ci into two jobs

this splits the action into two jobs so you can abort the workshop publish if the linter failed.
This commit is contained in:
Techbot121 2021-08-01 16:12:56 +02:00 committed by GitHub
parent 8c2496680d
commit e24ec10a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,10 +6,10 @@ on:
workflow_dispatch:
jobs:
workshop-publish:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
linter:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v2
@ -21,8 +21,12 @@ jobs:
lint_emptyBlocks: false
lint_unusedParameters: false
lint_unusedLoopVars: false
# Creates a GMA and publishes it to the Steam Workshop
# Creates a GMA and publishes it to the Steam Workshop
workshop-publish:
needs: linter
runs-on: ubuntu-latest
steps:
- name: Publish to Steam Workshop
uses: Earu/GSW-action@V2.1
with: