Skip to content

Commit

Permalink
fix: 优化:release 时不允许并发
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen committed Jun 8, 2024
1 parent 84c1d58 commit 5f4876d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- master
# 仅取消针对当前工作流正在进行的作业或运行
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release
Expand Down
4 changes: 4 additions & 0 deletions templates/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- master
# 仅取消针对当前工作流正在进行的作业或运行
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release
Expand Down

0 comments on commit 5f4876d

Please sign in to comment.