[CI] Cancel whl build when submitting a new commit (#4925)
### What this PR does / why we need it? From a resource-saving perspective, canceling old jobs when submitting new commits can reduce github_hosted in queue Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
4
.github/workflows/release_code_and_wheel.yml
vendored
4
.github/workflows/release_code_and_wheel.yml
vendored
@@ -35,6 +35,10 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_release_code:
|
build_and_release_code:
|
||||||
name: release code
|
name: release code
|
||||||
|
|||||||
Reference in New Issue
Block a user