diff --git a/.github/workflows/macos_mkspecs.yml b/.github/workflows/macos_mkspecs.yml index c25683c..6afcd23 100644 --- a/.github/workflows/macos_mkspecs.yml +++ b/.github/workflows/macos_mkspecs.yml @@ -1,32 +1,22 @@ -name: MacOS C++ make-specs -on: - workflow_dispatch: - inputs: - extra_resolve_options: - description: "Extra Resolve Options" - required: false - schedule: - - cron: "0 1 * * *" # 3 AM CET - push: - pull_request: +concurrency: + cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.ref || github.run_id }} jobs: MacOS-mkspecs: uses: steinwurf/macos-mkspecs-action/.github/workflows/action.yml@7.0.0 with: 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 +name: MacOS C++ make-specs +'on': + pull_request: null + push: + branches: + - master + schedule: + - cron: 0 1 * * * + workflow_dispatch: + inputs: + extra_resolve_options: + description: Extra Resolve Options + required: false