D'oh: publish the closure for arm64-linux

This commit is contained in:
Graham Christensen 2024-03-09 12:55:05 -05:00
parent a2db427eef
commit 570434e14b
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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: