ci: cancel overridden workflows (#4597)

Small quality-of-life improvements to workflows using new concurrency
control features:

https://docs.github.com/en/actions/using-jobs/using-concurrency

At time of this commit, macOS runners are oversubscribed. This may help.
This commit is contained in:
John Freeman
2023-06-29 17:31:36 -05:00
committed by GitHub
parent 1c2ae10dc0
commit 54afdaa101
3 changed files with 13 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
name: macos
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
@@ -29,7 +32,7 @@ jobs:
python --version
conan --version
cmake --version
env
env | sort
- name: build
uses: ./.github/actions/build
with: