mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-07 05:53:59 -07:00
fixup! Merge branch 'master' into ci/use-ninja-win
This commit is contained in:
parent
746f910c08
commit
8834924277
1 changed files with 6 additions and 3 deletions
9
.github/workflows/desktop-build.yml
vendored
9
.github/workflows/desktop-build.yml
vendored
|
|
@ -38,10 +38,13 @@ on:
|
|||
- 'vcpkg.json'
|
||||
- 'vcpkg'
|
||||
|
||||
# Cancel earlier, unfinished runs of this workflow on the same branch (unless on master)
|
||||
# Ensure at most one run per ref: queue new runs when one is in progress.
|
||||
# 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:
|
||||
group: "${{ github.workflow }} @ ${{ github.ref_name }}"
|
||||
cancel-in-progress: ${{ github.ref_name != 'master' }}
|
||||
group: "${{ github.workflow }} @ ${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||
|
||||
jobs:
|
||||
configure:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue