Use cancel-in-progress: true instead.
This commit is contained in:
parent
2f9b6a9bc8
commit
e868e59f7a
4 changed files with 2 additions and 14 deletions
1
.github/workflows/build-dev.yaml
vendored
1
.github/workflows/build-dev.yaml
vendored
|
@ -11,6 +11,7 @@ on:
|
|||
|
||||
concurrency:
|
||||
group: dev
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
1
.github/workflows/build-main.yaml
vendored
1
.github/workflows/build-main.yaml
vendored
|
@ -19,6 +19,7 @@ on:
|
|||
|
||||
concurrency:
|
||||
group: main
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
7
.github/workflows/release-dev.yaml
vendored
7
.github/workflows/release-dev.yaml
vendored
|
@ -25,13 +25,6 @@ env:
|
|||
BRANCH: dev
|
||||
|
||||
jobs:
|
||||
cancel:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel any earlier workflow actions still running
|
||||
uses: styfle/cancel-workflow-action@0.9.1
|
||||
with:
|
||||
access_token: ${{ secrets.ACCESS_TOKEN }}
|
||||
launch-dev-release:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
|
|
7
.github/workflows/release-main.yaml
vendored
7
.github/workflows/release-main.yaml
vendored
|
@ -23,13 +23,6 @@ env:
|
|||
BRANCH: main
|
||||
|
||||
jobs:
|
||||
cancel:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel any earlier workflow actions still running
|
||||
uses: styfle/cancel-workflow-action@0.9.1
|
||||
with:
|
||||
access_token: ${{ secrets.ACCESS_TOKEN }}
|
||||
launch-main-release-if-needed:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue