Skip to content

Commit 5fa4b3e

Browse files
committed
Updated publishing method to trusted publisher
1 parent ca87001 commit 5fa4b3e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/python-publish.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
deploy:
2020

2121
runs-on: ubuntu-latest
22+
permissions:
23+
id-token: write
2224

2325
steps:
2426
- uses: actions/checkout@v3
@@ -33,7 +35,4 @@ jobs:
3335
- name: Build package
3436
run: python -m build
3537
- name: Publish package
36-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37-
with:
38-
user: __token__
39-
password: ${{ secrets.PYPI_API_TOKEN }}
38+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29

0 commit comments

Comments
 (0)