Skip to content

Commit

Permalink
Retry of get draft release (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
intuibase authored Jun 24, 2024
1 parent d71b4b5 commit 565f188
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ jobs:
run: |
mkdir -p packages_downloaded_from_github
pushd packages_downloaded_from_github
gh release download "${TAG_NAME}"
for attempt in $(seq 1 3); do
gh release download "${TAG_NAME}" && break || (echo "Download draft release assets attempt ${attempt}/3 failed. Waiting 60s." && sleep 60)
done
ls -l .
echo "Verifying that downloaded artifacts pass the downloaded checksums..."
sha512sum --check ./*.sha512
Expand Down

0 comments on commit 565f188

Please sign in to comment.