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 7929c3e commit 64c7e2eCopy full SHA for 64c7e2e
.github/workflows/publish.yml
@@ -1,4 +1,4 @@
1
-name: Publish to GitHub Packages
+name: Publish to PyPI
2
3
on:
4
workflow_dispatch:
@@ -25,8 +25,9 @@ jobs:
25
run: |
26
python -m build
27
28
- - name: Publish to GitHub Packages
+ - name: Publish to PyPI
29
env:
30
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ TWINE_USERNAME: __token__
31
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
32
- python -m twine upload --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --repository-url https://upload.pkg.github.com/${{ github.repository }}/ dist/*
33
+ python -m twine upload dist/*
0 commit comments