Skip to content

Commit 025baa7

Browse files
authored
Update publish.yml (#63)
1 parent 8b2b4d5 commit 025baa7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ jobs:
6969
- name: Build package
7070
run: |
7171
python -m build
72-
73-
- name: Publish to PyPI
74-
run: |
75-
pip install twine
76-
python -m twine upload --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} dist/*
72+
73+
- name: Publish package to PyPI
74+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
75+
with:
76+
user: __token__
77+
password: ${{ secrets.PYPI_API_TOKEN }}
7778

7879
npm-tests:
7980
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)