D'oh: publish the closure for arm64-linux
This commit is contained in:
parent
a2db427eef
commit
570434e14b
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
@ -93,12 +93,12 @@ jobs:
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
- name: Build package
|
- 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
|
- name: Upload a Build Artifact
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: magic-nix-cache-ARM64-Linux
|
name: magic-nix-cache-ARM64-Linux
|
||||||
path: result/bin/magic-nix-cache
|
path: magic-nix-cache.closure.xz
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
2
.github/workflows/release-branches.yml
vendored
2
.github/workflows/release-branches.yml
vendored
|
@ -59,7 +59,7 @@ jobs:
|
||||||
name: magic-nix-cache-ARM64-Linux
|
name: magic-nix-cache-ARM64-Linux
|
||||||
path: cache-binary-ARM64-Linux
|
path: cache-binary-ARM64-Linux
|
||||||
- name: Persist the cache binary
|
- 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)
|
- name: Publish Release (Branch)
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue