Skip to content

Commit 95eaee2

Browse files
author
Hugo Rosenkranz-Costa
committed
Merge branch 'release/v5.0.1'
2 parents 59c20d1 + 2068608 commit 95eaee2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ jobs:
5555
run: |
5656
python -m pip install --upgrade pip
5757
pip install -r requirements.txt
58-
pip install twine
5958
python -m build
60-
- name: Upload to Pypi
59+
- name: Publish package to PyPI
6160
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 }}
61+
uses: pypa/gh-action-pypi-publish@release/v1
62+
with:
63+
repository-url: https://upload.pypi.org/legacy/
64+
print-hash: true
65+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)