Skip to content

Commit ce4a42d

Browse files
authored
change publish.yml to use trusted publisher (#4)
1 parent ab070c6 commit ce4a42d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,4 @@ jobs:
3232
run: twine check dist/*
3333

3434
- name: Publish to PyPI
35-
env:
36-
TWINE_USERNAME: __token__
37-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
38-
run: twine upload dist/*
35+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)