Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/pypi_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,15 @@ jobs:
RELEASE_VERSION: ${{ needs.release.outputs.version }}
run: |
uv venv --python 3.11 /tmp/published
uv pip install --refresh-package github-action-utils --python /tmp/published/bin/python "github-action-utils==$RELEASE_VERSION"
for attempt in {1..6}; do
if uv pip install --refresh-package github-action-utils --python /tmp/published/bin/python "github-action-utils==$RELEASE_VERSION"; then
break
fi
if [ "$attempt" -eq 6 ]; then
echo "::error::Could not install github-action-utils==$RELEASE_VERSION after 6 attempts."
exit 1
fi
echo "Published package installation failed; retrying in 10 seconds ($attempt/6)."
sleep 10
done
/tmp/published/bin/python scripts/check_distribution.py --published-version "$RELEASE_VERSION"
Loading