fix: CI, better jobs dependencies

This commit is contained in:
ABeltramo 2022-04-29 21:21:37 +01:00
parent 4e4a5c8df8
commit af342c8cc9
No known key found for this signature in database
GPG Key ID: 47465B9E2C4FE0C2

View File

@ -32,7 +32,6 @@ jobs:
check_versions:
name: Check Versions
runs-on: ubuntu-latest
needs: check_changelog
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
# base_ref for pull request check, ref for push
steps:
@ -54,7 +53,7 @@ jobs:
build_linux:
name: Build Sunshine on Linux
runs-on: ubuntu-20.04
needs: check_changelog
needs: [check_versions, check_changelog]
steps:
- name: Checkout
uses: actions/checkout@v3
@ -217,7 +216,7 @@ jobs:
build_win:
name: Windows
runs-on: windows-2019
needs: check_changelog
needs: [check_versions, check_changelog]
steps:
- name: Checkout