File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 1616jobs :
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 :
You can’t perform that action at this time.
0 commit comments