Skip to content

Commit 0bac827

Browse files
1 parent 6ffdc78 commit 0bac827

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
environment: release
24+
permissions:
25+
# This permission is mandatory for trusted publishing
26+
id-token: write
2427

2528
steps:
2629
- uses: actions/checkout@v3
@@ -35,7 +38,4 @@ jobs:
3538
- name: Build package
3639
run: python -m build
3740
- name: Publish package
38-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
39-
with:
40-
user: __token__
41-
password: ${{ secrets.PYPI_API_TOKEN }}
41+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)