From aa3e2bf42e1a177677944a2ac1bd8c4fb2509888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20H=C3=B8jlund=20Larsen?= Date: Tue, 22 Aug 2023 13:34:08 +0200 Subject: [PATCH] Update workflow to run on push to master --- .github/workflows/macos_mkspecs.yml | 42 +++++++++++------------------ 1 file changed, 16 insertions(+), 26 deletions(-) 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