diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2bc09fd..936bce5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -45,7 +45,7 @@ jobs: nix-store --export $(nix-store -qR ./result) | xz -9 > "${{ env.ARCHIVE_NAME }}" - 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: # Artifact name name: ${{ env.ARTIFACT_KEY }} diff --git a/.github/workflows/check-and-test.yaml b/.github/workflows/check-and-test.yaml index 116a6d4..0951dc5 100644 --- a/.github/workflows/check-and-test.yaml +++ b/.github/workflows/check-and-test.yaml @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v4 - name: Download closure for ${{ matrix.systems.system }} - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: ${{ env.ARTIFACT_KEY }} path: ${{ env.ARTIFACT_KEY }} diff --git a/.github/workflows/release-prs.yml b/.github/workflows/release-prs.yml index 501e20c..0a6475c 100644 --- a/.github/workflows/release-prs.yml +++ b/.github/workflows/release-prs.yml @@ -36,28 +36,28 @@ jobs: - name: Create the artifacts directory run: rm -rf ./artifacts && mkdir ./artifacts - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4.1.8 with: name: magic-nix-cache-ARM64-macOS path: cache-binary-ARM64-macOS - name: Persist the cache binary 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: name: magic-nix-cache-X64-macOS path: cache-binary-X64-macOS - name: Persist the cache binary 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: name: magic-nix-cache-X64-Linux path: cache-binary-X64-Linux - name: Persist the cache binary 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: name: magic-nix-cache-ARM64-Linux path: cache-binary-ARM64-Linux diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index 8f0bda7..7d9d38b 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -24,28 +24,28 @@ jobs: - name: Create the artifacts directory run: rm -rf ./artifacts && mkdir ./artifacts - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4.1.8 with: name: magic-nix-cache-ARM64-macOS path: cache-binary-ARM64-macOS - name: Persist the cache binary 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: name: magic-nix-cache-X64-macOS path: cache-binary-X64-macOS - name: Persist the cache binary 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: name: magic-nix-cache-X64-Linux path: cache-binary-X64-Linux - name: Persist the cache binary 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: name: magic-nix-cache-ARM64-Linux path: cache-binary-ARM64-Linux