Always build on push to master and workflow_dispatch, gate only scheduled runs

This commit is contained in:
Anton 2026-03-11 18:31:50 +00:00
parent ee526c8d44
commit 08380e548e

View File

@ -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: