Skip to content

Commit 1ed8761

Browse files
committed
Use the trusted publisher workflow to publish to PyPI
1 parent d868720 commit 1ed8761

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/publish-pypi.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ jobs:
7373
env:
7474
LD_LIBRARY_PATH: /usr/local/lib
7575

76-
- name: Publish package
77-
uses: pypa/[email protected]
78-
with:
79-
user: __token__
80-
password: ${{ secrets.PYPI_PASSWORD }}
76+
# This uses the trusted publisher workflow so no token is required.
77+
- name: Publish to PyPI
78+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)