Skip to content

Commit 5b8dfbb

Browse files
committed
8338402: GHA: some of bundles may not get removed
Reviewed-by: andrew Backport-of: d8e4d3f2d6c187f2487acd390a4e5fa2a99010ea
1 parent 02b8101 commit 5b8dfbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/submit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ jobs:
15881588
-H 'Accept: application/vnd.github+json' \
15891589
-H 'Authorization: Bearer ${{ github.token }}' \
15901590
-H 'X-GitHub-Api-Version: 2022-11-28' \
1591-
'${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts'
1591+
'${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts?per_page=100'
15921592
15931593
- name: Delete transient artifacts
15941594
run: |
@@ -1598,7 +1598,7 @@ jobs:
15981598
-H 'Accept: application/vnd.github+json' \
15991599
-H 'Authorization: Bearer ${{ github.token }}' \
16001600
-H 'X-GitHub-Api-Version: 2022-11-28' \
1601-
'${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts')"
1601+
'${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts?per_page=100')"
16021602
BUNDLE_ARTIFACT_IDS="$(echo "$ALL_ARTIFACT_IDS" | jq -r -c '.artifacts | map(select(.name|startswith("transient_"))) | .[].id')"
16031603
for id in $BUNDLE_ARTIFACT_IDS; do
16041604
echo "Removing $id"

0 commit comments

Comments
 (0)