Skip to content

Commit

Permalink
Update testresults.yml to avoid paginated search for artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
auto-differentiation-dev authored Dec 5, 2024
1 parent af3a989 commit 1de5056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testresults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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 "${artifacts_url}?per_page=200" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
do
IFS=$'\t' read name url <<< "$artifact"
gh api $url > "$name.zip"
Expand Down

0 comments on commit 1de5056

Please sign in to comment.