Skip to content

Commit 1042dd9

Browse files
committed
upgrading action to trusted published
1 parent d3bfb28 commit 1042dd9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ on:
1414

1515
jobs:
1616
deploy:
17-
17+
name: Upload release to PyPI
1818
runs-on: ubuntu-latest
19-
19+
permissions:
20+
id-token: write
2021
steps:
2122
- uses: actions/checkout@v3
2223
- name: Set up Python
@@ -31,6 +32,3 @@ jobs:
3132
run: python -m build
3233
- name: Publish package
3334
uses: pypa/gh-action-pypi-publish@release/v1
34-
with:
35-
user: __token__
36-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)