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 ce5ede5 commit 389168aCopy full SHA for 389168a
.github/workflows/pypi-publish.yml
@@ -22,10 +22,8 @@ jobs:
22
run: |
23
python -m pip install --upgrade pip
24
pip install setuptools wheel twine
25
- - name: Build and publish
26
- env:
27
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29
- run: |
30
- python setup.py sdist bdist_wheel
31
- twine upload dist/*
+ - name: Publish a Python distribution to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ user: __token__
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments