mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2026-03-27 05:45:58 +00:00
Always build on push to master and workflow_dispatch, gate only scheduled runs
This commit is contained in:
parent
ee526c8d44
commit
08380e548e
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@ -101,9 +101,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: version-check
|
needs: version-check
|
||||||
if: |
|
if: |
|
||||||
needs.version-check.outputs.build_needed == 'true' &&
|
|
||||||
(github.event_name != 'pull_request') &&
|
(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:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user