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
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ jobs:
python -m venv test_env
source test_env/bin/activate

# Install the package from TestPyPI with regular PyPI as fallback for dependencies
pip install --no-cache-dir --index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple/ \
# 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

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