We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 59c20d1 + 2068608 commit 95eaee2Copy full SHA for 95eaee2
.github/workflows/publish.yml
@@ -55,11 +55,11 @@ jobs:
55
run: |
56
python -m pip install --upgrade pip
57
pip install -r requirements.txt
58
- pip install twine
59
python -m build
60
- - name: Upload to Pypi
+ - name: Publish package to PyPI
61
if: startsWith(github.ref, 'refs/tags/')
62
- run: twine upload -u "${PYPI_USERNAME}" -p "${PYPI_PASSWORD}" dist/cloudproof_py*.whl
63
- env:
64
- PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
65
- PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ repository-url: https://upload.pypi.org/legacy/
+ print-hash: true
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments