Skip to content

Commit

Permalink
Disable 'fail-fast' for master and tag builds on CI (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed May 11, 2020
1 parent 62d50b5 commit 327639f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ jobs:
runs-on: ${{ matrix.config.os }}
timeout-minutes: 120
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:
config:
- os: macOS-latest
Expand Down

0 comments on commit 327639f

Please sign in to comment.