Skip to content

Commit

Permalink
ci: don't fail-fast on tag build (denoland#5189)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 10, 2020
1 parent e9318aa commit 60dfd91
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ jobs:
# 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 != 'push' || github.ref != 'refs/heads/master' }}
${{ github.event_name == 'pull_request' || (github.ref !=
'refs/heads/master' && !startsWith(github.ref, 'refs/tags/')) }}

env:
CARGO_INCREMENTAL: 0
Expand Down

0 comments on commit 60dfd91

Please sign in to comment.