[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:
1 parent
c30b51e764
commit
3349f61769
1 file changed
+4
@@ -35,6 +35,10 @@ on:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build_and_release_code:
|
||||
name: release code
|
||||
|
||||
Reference in new issue
Block a user