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.
2 parents 6c6ce35 + 6d40b45 commit e7150a2Copy full SHA for e7150a2
.github/workflows/python-publish.yml
@@ -42,10 +42,12 @@ jobs:
42
run: |
43
python -m pip install --upgrade pip
44
pip install setuptools wheel twine
45
- - name: Build and publish
46
- env:
47
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
48
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
49
- run: |
50
- python setup.py sdist bdist_wheel
51
- twine upload dist/*
+ - name: Build package
+ run: python setup.py sdist bdist_wheel
+ - name: Publish package
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ verbose: true
+ repository-url: https://upload.pypi.org/legacy/
52
+ user: __token__
53
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments