Skip to content

Commit 3349f61

Browse files
authored
[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 <[email protected]>
1 parent c30b51e commit 3349f61

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release_code_and_wheel.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ on:
3535
tags:
3636
- 'v*'
3737

38+
concurrency:
39+
group: ${{ github.workflow }}-${{ github.ref }}
40+
cancel-in-progress: true
41+
3842
jobs:
3943
build_and_release_code:
4044
name: release code

0 commit comments

Comments
 (0)