From 1de50566f34ba8c030916a43d7a0923979ffecca Mon Sep 17 00:00:00 2001 From: Auto Differentiation Dev Team <107129969+auto-differentiation-dev@users.noreply.github.com> Date: Thu, 5 Dec 2024 12:58:16 +0000 Subject: [PATCH] Update testresults.yml to avoid paginated search for artifacts --- .github/workflows/testresults.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testresults.yml b/.github/workflows/testresults.yml index 8686bc29..c220fafd 100644 --- a/.github/workflows/testresults.yml +++ b/.github/workflows/testresults.yml @@ -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"