fix: CI, better jobs dependencies
This commit is contained in:
parent
4e4a5c8df8
commit
af342c8cc9
1 changed files with 2 additions and 3 deletions
5
.github/workflows/CI.yml
vendored
5
.github/workflows/CI.yml
vendored
|
|
@ -32,7 +32,6 @@ jobs:
|
||||||
check_versions:
|
check_versions:
|
||||||
name: Check Versions
|
name: Check Versions
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: check_changelog
|
|
||||||
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
|
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
|
||||||
# base_ref for pull request check, ref for push
|
# base_ref for pull request check, ref for push
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -54,7 +53,7 @@ jobs:
|
||||||
build_linux:
|
build_linux:
|
||||||
name: Build Sunshine on Linux
|
name: Build Sunshine on Linux
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs: check_changelog
|
needs: [check_versions, check_changelog]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
@ -217,7 +216,7 @@ jobs:
|
||||||
build_win:
|
build_win:
|
||||||
name: Windows
|
name: Windows
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
needs: check_changelog
|
needs: [check_versions, check_changelog]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue