We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ba803 commit 3586a8eCopy full SHA for 3586a8e
1 file changed
.github/workflows/regenerate-client.yml
@@ -110,20 +110,16 @@ jobs:
110
# Build package
111
poetry build
112
113
- # Publish to GitHub Packages
114
- pip install twine
115
- twine upload \
116
- --repository-url https://upload.pypi.org/github/${{ github.repository_owner }}/ \
117
- --username ${{ github.actor }} \
118
- --password ${{ secrets.GITHUB_TOKEN }} \
119
- --skip-existing \
120
- dist/*
121
-
122
- echo "✓ Package built and published"
+ echo "✓ Package built"
123
else
124
echo "No changes to commit"
125
fi
126
+ - name: Publish to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1 # Handles OIDC automatically
+ with:
+ repository-url: https://upload.pypi.org/legacy/ # Default for PyPI
+
127
- name: Create summary
128
if: always()
129
run: |
0 commit comments