Skip to content

Commit

Permalink
apacheGH-609: [Release] Wait between artifact uploads (apache#610)
Browse files Browse the repository at this point in the history
The GitHub CLI does not respect GitHub API rate limits and will not fix
this (cli/cli#9586).

Closes apache#609.
  • Loading branch information
lidavidm authored Feb 13, 2025
1 parent 94ca5a0 commit 34e2b08
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,16 @@ jobs:
--generate-notes \
--repo ${GITHUB_REPOSITORY} \
--title "Apache Arrow Java ${version}" \
--verify-tag \
dists/*
--verify-tag
# GitHub CLI does not respect their own rate limits
# https://github.com/cli/cli/issues/9586
for artifact in dists/*; do
sleep 1
gh release upload ${GITHUB_REF_NAME} \
--repo ${GITHUB_REPOSITORY} \
$artifact
done
- name: Checkout for publishing docs
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand Down

0 comments on commit 34e2b08

Please sign in to comment.