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.
pythonpublish.yml
pypi-publish
1 parent 5bb6afa commit 82ac99aCopy full SHA for 82ac99a
.github/workflows/pythonpublish.yml
@@ -18,10 +18,10 @@ jobs:
18
run: |
19
python -m pip install --upgrade pip
20
pip install setuptools wheel twine
21
- - name: Build and publish
22
- env:
23
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
24
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ - name: Build
25
26
python setup.py sdist bdist_wheel
27
- twine upload dist/*
+ - name: Publish
+ uses: pypa/[email protected]
+ with:
+ password: ${{ secrets.PYPI_API_TOKEN }}\
0 commit comments