Skip to content

Commit 51c3708

Browse files
authored
Small GH Actions optimizations
- Set `fail-fast` to false so we'll see the outcome of all the builds - Trigger `push` only on `master` so we won't have duplicate builds
1 parent d7e75e8 commit 51c3708

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pre-merge.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
name: Pre Merge Checks
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- '*'
39

410
jobs:
511
gradle:
612
strategy:
13+
fail-fast: false
714
matrix:
815
os: [ubuntu-latest, macos-latest, windows-latest]
916
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)