1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 04:56:01 +01:00

Merge pull request #116 from DeterminateSystems/push-zrwpvlwurrkr

Don't build fallback-paths if we didn't build aarch64-linux and x86 d…   …arwin
This commit is contained in:
Graham Christensen 2025-06-16 16:01:06 +00:00 committed by GitHub
commit b0aa12df25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@ jobs:
build_aarch64-linux:
uses: ./.github/workflows/build.yml
with:
if: ${{ github.event_name == 'merge_group' }}
if: ${{ github.event_name != 'pull_request' }}
system: aarch64-linux
runner: UbuntuLatest32Cores128GArm
runner_small: UbuntuLatest32Cores128GArm
@ -52,7 +52,7 @@ jobs:
build_x86_64-darwin:
uses: ./.github/workflows/build.yml
with:
if: ${{ github.event_name == 'merge_group' }}
if: ${{ github.event_name != 'pull_request' }}
system: x86_64-darwin
runner: macos-latest-large
runner_small: macos-latest-large
@ -103,6 +103,7 @@ jobs:
done
- name: Build fallback-paths.nix
if: ${{ github.event_name != 'pull_request' }}
run: |
nix build .#fallbackPathsNix --out-link fallback
cat fallback > ./artifacts/fallback-paths.nix