Update .github/workflows/macos_cmake.yml to be concurrent #591
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux 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: | ||
jobs: | ||
Linux-mkspecs: | ||
uses: steinwurf/linux-mkspecs-action/.github/workflows/action.yml@6.0.0 | ||
with: | ||
extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }} | ||
# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 | ||
concurrency: | ||
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 |