fixup: update upload-artifact, download-artifact action versions

This commit is contained in:
Cole Helbling 2025-01-16 07:34:14 -08:00
parent 003f106338
commit 322a99d45e
4 changed files with 10 additions and 10 deletions

View file

@ -45,7 +45,7 @@ jobs:
nix-store --export $(nix-store -qR ./result) | xz -9 > "${{ env.ARCHIVE_NAME }}" nix-store --export $(nix-store -qR ./result) | xz -9 > "${{ env.ARCHIVE_NAME }}"
- name: Upload magic-nix-cache closure for ${{ matrix.systems.system }} - name: Upload magic-nix-cache closure for ${{ matrix.systems.system }}
uses: actions/upload-artifact@v3.1.2 uses: actions/upload-artifact@v4.6.0
with: with:
# Artifact name # Artifact name
name: ${{ env.ARTIFACT_KEY }} name: ${{ env.ARTIFACT_KEY }}

View file

@ -63,7 +63,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Download closure for ${{ matrix.systems.system }} - name: Download closure for ${{ matrix.systems.system }}
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4.1.8
with: with:
name: ${{ env.ARTIFACT_KEY }} name: ${{ env.ARTIFACT_KEY }}
path: ${{ env.ARTIFACT_KEY }} path: ${{ env.ARTIFACT_KEY }}

View file

@ -36,28 +36,28 @@ jobs:
- name: Create the artifacts directory - name: Create the artifacts directory
run: rm -rf ./artifacts && mkdir ./artifacts run: rm -rf ./artifacts && mkdir ./artifacts
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4.1.8
with: with:
name: magic-nix-cache-ARM64-macOS name: magic-nix-cache-ARM64-macOS
path: cache-binary-ARM64-macOS path: cache-binary-ARM64-macOS
- name: Persist the cache binary - name: Persist the cache binary
run: cp ./cache-binary-ARM64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-ARM64-macOS run: cp ./cache-binary-ARM64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-ARM64-macOS
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4.1.8
with: with:
name: magic-nix-cache-X64-macOS name: magic-nix-cache-X64-macOS
path: cache-binary-X64-macOS path: cache-binary-X64-macOS
- name: Persist the cache binary - name: Persist the cache binary
run: cp ./cache-binary-X64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-macOS run: cp ./cache-binary-X64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-macOS
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4.1.8
with: with:
name: magic-nix-cache-X64-Linux name: magic-nix-cache-X64-Linux
path: cache-binary-X64-Linux path: cache-binary-X64-Linux
- name: Persist the cache binary - name: Persist the cache binary
run: cp ./cache-binary-X64-Linux/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-Linux run: cp ./cache-binary-X64-Linux/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-Linux
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4.1.8
with: with:
name: magic-nix-cache-ARM64-Linux name: magic-nix-cache-ARM64-Linux
path: cache-binary-ARM64-Linux path: cache-binary-ARM64-Linux

View file

@ -24,28 +24,28 @@ jobs:
- name: Create the artifacts directory - name: Create the artifacts directory
run: rm -rf ./artifacts && mkdir ./artifacts run: rm -rf ./artifacts && mkdir ./artifacts
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4.1.8
with: with:
name: magic-nix-cache-ARM64-macOS name: magic-nix-cache-ARM64-macOS
path: cache-binary-ARM64-macOS path: cache-binary-ARM64-macOS
- name: Persist the cache binary - name: Persist the cache binary
run: cp ./cache-binary-ARM64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-ARM64-macOS run: cp ./cache-binary-ARM64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-ARM64-macOS
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4.1.8
with: with:
name: magic-nix-cache-X64-macOS name: magic-nix-cache-X64-macOS
path: cache-binary-X64-macOS path: cache-binary-X64-macOS
- name: Persist the cache binary - name: Persist the cache binary
run: cp ./cache-binary-X64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-macOS run: cp ./cache-binary-X64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-macOS
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4.1.8
with: with:
name: magic-nix-cache-X64-Linux name: magic-nix-cache-X64-Linux
path: cache-binary-X64-Linux path: cache-binary-X64-Linux
- name: Persist the cache binary - name: Persist the cache binary
run: cp ./cache-binary-X64-Linux/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-Linux run: cp ./cache-binary-X64-Linux/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-Linux
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4.1.8
with: with:
name: magic-nix-cache-ARM64-Linux name: magic-nix-cache-ARM64-Linux
path: cache-binary-ARM64-Linux path: cache-binary-ARM64-Linux