CI: Never skip cancel_previous_runs
The if condition was nonsensical and did not serve any practical purpose; removing it allows the succeeding jobs to run in any case without additional code.pull/1021/head v3.0
parent
9e8c3db856
commit
0e0b0252e2
|
@ -12,7 +12,6 @@ jobs:
|
||||||
cancel_previous_runs:
|
cancel_previous_runs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Cancel Previous Runs
|
name: Cancel Previous Runs
|
||||||
if: github.event_name == 'push'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: styfle/cancel-workflow-action@0.8.0
|
- uses: styfle/cancel-workflow-action@0.8.0
|
||||||
with:
|
with:
|
||||||
|
@ -22,7 +21,6 @@ jobs:
|
||||||
needs: [cancel_previous_runs]
|
needs: [cancel_previous_runs]
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
name: Test Ubuntu
|
name: Test Ubuntu
|
||||||
if: "!cancelled()"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
@ -34,7 +32,6 @@ jobs:
|
||||||
needs: [cancel_previous_runs]
|
needs: [cancel_previous_runs]
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
name: Test Windows
|
name: Test Windows
|
||||||
if: "!cancelled()"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
@ -48,7 +45,6 @@ jobs:
|
||||||
needs: [cancel_previous_runs]
|
needs: [cancel_previous_runs]
|
||||||
runs-on: macos-10.15
|
runs-on: macos-10.15
|
||||||
name: Test macOS
|
name: Test macOS
|
||||||
if: "!cancelled()"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
|
Loading…
Reference in New Issue