Skip to content

Commit 6ad1412

Browse files
fix: try just downloading all of the artifacts
1 parent 616fb55 commit 6ad1412

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/release-rizzybox.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ on:
1616
jobs:
1717
create_release:
1818
runs-on: ubuntu-22.04
19-
strategy:
20-
matrix:
21-
artifact_name:
22-
[
23-
"rizzybox-riscv64gc-unknown-linux-gnu",
24-
"rizzybox-aarch64-unknown-linux-musl",
25-
"rizzybox-x86_64-unknown-linux-musl",
26-
"rizzybox-aarch64-apple-darwin",
27-
"rizzybox-x86_64-apple-darwin",
28-
]
2919

3020
steps:
3121
- name: Checkout code
@@ -39,12 +29,12 @@ jobs:
3929
run_id=$(gh run list --workflow="Build Rizzybox" --branch=main --status=success --json databaseId --jq '.[0].databaseId')
4030
echo "run_id=$run_id" >> $GITHUB_ENV
4131
42-
- name: Download artifact
43-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
44-
with:
45-
name: ${{ matrix.artifact_name }}
46-
path: ./artifacts
47-
run-id: ${{ env.run_id }}
32+
- name: Download artifacts
33+
env:
34+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
run: |
36+
mkdir -p ./artifacts
37+
gh run download ${{ env.run_id }} --dir ./artifacts
4838
4939
- name: Create GitHub Release
5040
env:

0 commit comments

Comments
 (0)