mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 09:03:57 -07:00
revert to master's concurrency policy
This commit is contained in:
parent
bde03fa1be
commit
c3200a7f7f
1 changed files with 3 additions and 6 deletions
9
.github/workflows/desktop-build.yml
vendored
9
.github/workflows/desktop-build.yml
vendored
|
|
@ -38,13 +38,10 @@ on:
|
||||||
- 'vcpkg.json'
|
- 'vcpkg.json'
|
||||||
- 'vcpkg'
|
- 'vcpkg'
|
||||||
|
|
||||||
# Ensure at most one run per ref: queue new runs when one is in progress.
|
# Cancel earlier, unfinished runs of this workflow on the same branch (unless on master)
|
||||||
# On master, cancel-in-progress is false so each push gets full CI (runs queue).
|
|
||||||
# On other refs (tags, PRs), cancel-in-progress is true to avoid redundant builds.
|
|
||||||
# Using github.ref ensures stable grouping (ref_name can be empty in some events).
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "${{ github.workflow }} @ ${{ github.ref || github.run_id }}"
|
group: "${{ github.workflow }} @ ${{ github.ref_name }}"
|
||||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
cancel-in-progress: ${{ github.ref_name != 'master' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
configure:
|
configure:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue