From a78906e5c0acad813bb37c32a0027bb8fa1a87bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20H=C3=B8jlund=20Larsen?= Date: Tue, 22 Aug 2023 11:36:56 +0200 Subject: [PATCH] Update .github/workflows/macos_mkspecs.yml to be concurrent --- .github/workflows/macos_mkspecs.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/macos_mkspecs.yml b/.github/workflows/macos_mkspecs.yml index 75845a7..7051a03 100644 --- a/.github/workflows/macos_mkspecs.yml +++ b/.github/workflows/macos_mkspecs.yml @@ -16,13 +16,21 @@ jobs: extra_resolve_options: ${{ github.events.inputs.extra_resolve_options }} test_command: python3 waf --run_tests --run_cmd="%s --no_fail" + # Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }} + cancel-in-progress: true + +# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 concurrency: group: ${{ github.workflow }}-${{ github.ref || github.run_id }} cancel-in-progress: true + + # Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 concurrency: group: ${{ github.workflow }}-${{ github.ref || github.run_id }} cancel-in-progress: true +