ci: use inbuilt github concurrency feature
@@ -9,14 +9,11 @@ env:
# Skip homebrew cleanup to avoid issues with removal of packages
HOMEBREW_NO_INSTALL_CLEANUP: 1
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
- cancel:
- name: auto-cancellation-running-action
- runs-on: macos-11
- steps:
- - uses: fauguste/auto-cancellation-running-action@0.1.4
- with:
- githubToken: ${{ secrets.GITHUB_TOKEN }}
build:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
