From 570434e14b742526ba4908acef3d8a0e1b94e63f Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sat, 9 Mar 2024 12:55:05 -0500 Subject: [PATCH] D'oh: publish the closure for arm64-linux --- .github/workflows/build.yaml | 4 ++-- .github/workflows/release-branches.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3d56f25..653bc07 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -93,12 +93,12 @@ jobs: - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build package - run: "nix build .# -L --fallback" + run: "nix build .# -L --fallback && nix-store --export $(nix-store -qR ./result) | xz -9 > magic-nix-cache.closure.xz" - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.2 with: # Artifact name name: magic-nix-cache-ARM64-Linux - path: result/bin/magic-nix-cache + path: magic-nix-cache.closure.xz retention-days: 1 diff --git a/.github/workflows/release-branches.yml b/.github/workflows/release-branches.yml index d36a5e3..40e19f7 100644 --- a/.github/workflows/release-branches.yml +++ b/.github/workflows/release-branches.yml @@ -59,7 +59,7 @@ jobs: name: magic-nix-cache-ARM64-Linux path: cache-binary-ARM64-Linux - name: Persist the cache binary - run: cp ./cache-binary-ARM64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-Linux + run: cp ./cache-binary-ARM64-Linux/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-ARM64-Linux - name: Publish Release (Branch) env: