Skip to content

Commit

Permalink
Update workflow to run on push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
loglund committed Aug 22, 2023
1 parent 15dcfce commit aa3e2bf
Showing 1 changed file with 16 additions and 26 deletions.
42 changes: 16 additions & 26 deletions .github/workflows/macos_mkspecs.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit aa3e2bf

Please sign in to comment.