Fetch all artifacts
@@ -29,7 +29,7 @@ jobs:
artifacts_url=${{ github.event.workflow_run.artifacts_url }}
- gh api "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
+ gh api --paginate "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
do
IFS=$'\t' read name url <<< "$artifact"
gh api $url > "$name.zip"
