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: 8 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,13 @@ jobs:

# Install the package from TestPyPI with regular PyPI as PRIMARY for dependencies
# This ensures dependencies like fastapi come from real PyPI, not broken TestPyPI versions
pip install --index-url https://pypi.org/simple/ \
--extra-index-url https://test.pypi.org/simple/ \
gradient-adk==$VERSION
for i in {1..5}; do
pip install --no-cache-dir \
--index-url https://pypi.org/simple/ \
--extra-index-url https://test.pypi.org/simple/ \
gradient-adk==$VERSION && break
sleep 2
done

# Verify the installed version
pip show gradient-adk
Expand Down Expand Up @@ -119,4 +123,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
path: dist/