0
0
Fork 0
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:
Bert Belder 2020-05-11 23:20:48 +02:00
parent 62d50b5a0b
commit 327639f6cb
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

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