Skip to content

Commit b0aa12d

Browse files
authored
Merge pull request #116 from DeterminateSystems/push-zrwpvlwurrkr
Don't build fallback-paths if we didn't build aarch64-linux and x86 d… …arwin
2 parents d41480d + eba6cd8 commit b0aa12d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
build_aarch64-linux:
4545
uses: ./.github/workflows/build.yml
4646
with:
47-
if: ${{ github.event_name == 'merge_group' }}
47+
if: ${{ github.event_name != 'pull_request' }}
4848
system: aarch64-linux
4949
runner: UbuntuLatest32Cores128GArm
5050
runner_small: UbuntuLatest32Cores128GArm
5151

5252
build_x86_64-darwin:
5353
uses: ./.github/workflows/build.yml
5454
with:
55-
if: ${{ github.event_name == 'merge_group' }}
55+
if: ${{ github.event_name != 'pull_request' }}
5656
system: x86_64-darwin
5757
runner: macos-latest-large
5858
runner_small: macos-latest-large
@@ -103,6 +103,7 @@ jobs:
103103
done
104104
105105
- name: Build fallback-paths.nix
106+
if: ${{ github.event_name != 'pull_request' }}
106107
run: |
107108
nix build .#fallbackPathsNix --out-link fallback
108109
cat fallback > ./artifacts/fallback-paths.nix

0 commit comments

Comments
 (0)