Skip to content

Commit

Permalink
ci: Add arch to artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
rickynils committed Nov 5, 2024
1 parent da4598e commit 1e71a36
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
echo "result=$(readlink result)" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v4
with:
name: nix-archives-${{ runner.os }}
name: nix-archives-${{ runner.os }}-${{ runner.arch }}
path: ${{ steps.build-nix-archives.outputs.result }}/

test:
Expand All @@ -58,7 +58,7 @@ jobs:
- uses: actions/download-artifact@v4
id: nix-archives
with:
name: nix-archives-${{ runner.os }}
name: nix-archives-${{ runner.os }}-${{ runner.arch }}
- uses: ./
with:
nix_archives_url: file://${{steps.nix-archives.outputs.download-path}}
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- uses: actions/download-artifact@v4
id: nix-archives
with:
name: nix-archives-${{ runner.os }}
name: nix-archives-${{ runner.os }}-${{ runner.arch }}
- uses: ./
with:
nix_archives_url: file://${{steps.nix-archives.outputs.download-path}}
Expand Down Expand Up @@ -130,11 +130,15 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: nix-archives-Linux
name: nix-archives-Linux-X64
path: /tmp/archives
- uses: actions/download-artifact@v4
with:
name: nix-archives-macOS
name: nix-archives-macOS-X64
path: /tmp/archives
- uses: actions/download-artifact@v4
with:
name: nix-archives-macOS-ARM64
path: /tmp/archives
- uses: ./
with:
Expand Down

0 comments on commit 1e71a36

Please sign in to comment.