mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
[CI] Use GitHub Actions concurrency setting
When a build is triggered, this cancels any current builds of the same branch or pull request.
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -8,6 +8,10 @@ on:
|
|||||||
- readthedocs
|
- readthedocs
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
do_vatsim_key: ${{ github.event_name == 'push' }}
|
do_vatsim_key: ${{ github.event_name == 'push' }}
|
||||||
do_symbols: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/develop/') }}
|
do_symbols: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/develop/') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user