Skip to content

Commit

Permalink
MINOR: Upload release artifacts individually with sleep (#590)
Browse files Browse the repository at this point in the history
According to cli/cli#9586, GitHub CLI doesn't
respect the GitHub rate limits and GitHub is uninterested in fixing
this.
  • Loading branch information
lidavidm authored Feb 6, 2025
1 parent b933d2e commit 4c3dcb4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,12 @@ jobs:
--prerelease \
--repo ${GITHUB_REPOSITORY} \
--title "Apache Arrow Java ${version} RC${rc}" \
--verify-tag \
artifacts/*/*
--verify-tag
# GitHub CLI does not respect their own rate limits
# https://github.com/cli/cli/issues/9586
for artifact in artifacts/*/*; do
sleep 1
gh release upload ${GITHUB_REF_NAME} $artifact
done
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4c3dcb4

Please sign in to comment.