Cancel running workflows when you add changes to the same branch
This commit is contained in:
parent
c25946ab8f
commit
500ca4b083
|
@ -36,6 +36,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.8.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -35,6 +35,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.8.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -37,6 +37,10 @@ jobs:
|
||||||
name: Deployment
|
name: Deployment
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.8.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -36,6 +36,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.8.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -36,6 +36,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.8.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -10,6 +10,10 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.8.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
|
Loading…
Reference in New Issue