fix: CI, better jobs dependencies
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user