Skip to content

Commit 036026e

Browse files
committed
use action
1 parent 665eeb4 commit 036026e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
python ./setup.py sdist bdist_wheel
5656
- name: upload
57-
run: twine upload dist/* --non-interactive --skip-existing
58-
env:
59-
TWINE_USERNAME: token
60-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
57+
uses: pypa/gh-action-pypi-publish@master
58+
with:
59+
user: __token__
60+
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)