Skip to content

Commit 78b2470

Browse files
authored
Update python-publish.yml
1 parent 5b52eb5 commit 78b2470

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
deploy:
1919

2020
runs-on: ubuntu-latest
21-
permissions:
22-
# IMPORTANT: this permission is mandatory for trusted publishing
23-
id-token: write
21+
2422
steps:
2523
- uses: actions/checkout@v3
2624
- name: Set up Python
@@ -35,3 +33,6 @@ jobs:
3533
run: python -m build
3634
- name: Publish package
3735
uses: pypa/gh-action-pypi-publish@release/v1
36+
with:
37+
username: __token__
38+
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)