Always build on push to master and workflow_dispatch, gate only scheduled runs
This commit is contained in:
parent
ee526c8d44
commit
08380e548e
1 changed files with 5 additions and 2 deletions
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
|
|
@ -101,9 +101,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: version-check
|
||||
if: |
|
||||
needs.version-check.outputs.build_needed == 'true' &&
|
||||
(github.event_name != 'pull_request') &&
|
||||
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master'))
|
||||
(
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/master') ||
|
||||
(github.event_name == 'workflow_dispatch') ||
|
||||
(github.event_name == 'schedule' && needs.version-check.outputs.build_needed == 'true')
|
||||
)
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue