Skip to content

Commit

Permalink
👷 改进工作流并发组
Browse files Browse the repository at this point in the history
  • Loading branch information
A-kirami committed Dec 4, 2024
1 parent 51b32f3 commit 23317ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
build:
Expand Down

0 comments on commit 23317ba

Please sign in to comment.