mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-27 01:29:19 -05:00
Disable 'fail-fast' for master and tag builds on CI (#372)
This commit is contained in:
parent
62d50b5a0b
commit
327639f6cb
1 changed files with 8 additions and 0 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -13,6 +13,14 @@ jobs:
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
strategy:
|
strategy:
|
||||||
|
# Always run master branch builds to completion. This allows the cache to
|
||||||
|
# stay mostly up-to-date in situations where a single job fails due to
|
||||||
|
# e.g. a flaky test.
|
||||||
|
# Don't fast-fail on tag build because publishing binaries shouldn't be
|
||||||
|
# prevented if 'cargo publish' fails (which can be a false negative).
|
||||||
|
fail-fast:
|
||||||
|
${{ github.event_name == 'pull_request' || (github.ref !=
|
||||||
|
'refs/heads/master' && !startsWith(github.ref, 'refs/tags/')) }}
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- os: macOS-latest
|
- os: macOS-latest
|
||||||
|
|
Loading…
Reference in a new issue