From 151456a999de3c32d86b4091fc0cff4b8a2255a5 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 16 Jun 2025 09:54:06 -0400 Subject: [PATCH 1/2] Change the aarch64 linux / x86 darwin condition to exclude pull request, since we do want to build them on every other trigger --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 832228296..4aa9ed296 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 From eba6cd8488f5a502fd52ea5ffa38bb22c6ec91e9 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 16 Jun 2025 09:55:46 -0400 Subject: [PATCH 2/2] Don't build fallback-paths if we didn't build aarch64-linux and x86 darwin --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4aa9ed296..4eea8759d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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