Skip to content

Commit f323bf4

Browse files
committed
Only cancel other builds on main
Ran into an issue where one OS build was missing a dep and caused all the other ones to be canceled. I want to be able to see which succeed/fail individually in development, but consolidate them all in main.
1 parent f16984c commit f323bf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
name: Build on ${{ matrix.os }} for ${{ matrix.target }}
99
runs-on: ${{ matrix.os }}
1010
strategy:
11+
fail-fast: ${{ github.ref == 'refs/heads/main' }}
1112
matrix:
1213
include:
1314
- os: ubuntu-latest

0 commit comments

Comments
 (0)