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 ba6cc0b commit 56405eb
Showing 1 changed file with 16 additions and 26 deletions.
42 changes: 16 additions & 26 deletions .github/workflows/windows_cmake.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
name: Windows Cmake
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 }}
env:
EXTRA_RESOLVE_OPTIONS: ${{ github.event.inputs.extra_resolve_options }}
jobs:
Expand All @@ -17,18 +9,16 @@ jobs:
uses: steinwurf/windows-cmake-action/.github/workflows/action.yml@4.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
name: Windows Cmake
'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 56405eb

Please sign in to comment.