Skip to content

Update .github/workflows/linux_mkspecs.yml to be concurrent #725

Update .github/workflows/linux_mkspecs.yml to be concurrent

Update .github/workflows/linux_mkspecs.yml to be concurrent #725

Workflow file for this run

name: MacOS Cmake
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
env:
EXTRA_RESOLVE_OPTIONS: ${{ github.event.inputs.extra_resolve_options }}
jobs:
MacOS-cmake:
name: MacOS Cmake
uses: steinwurf/macos-cmake-action/.github/workflows/action.yml@6.0.0
with:
extra_resolve_options: $EXTRA_RESOLVE_OPTIONS
# 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:

Check failure on line 28 in .github/workflows/macos_cmake.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/macos_cmake.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
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