Skip to content

Commit 7777777

Browse files
committed
Feat: Use Trusted Publishing
1 parent aaaaaaa commit 7777777

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ on:
77

88
permissions:
99
contents: read
10+
id-token: write
1011

1112
jobs:
1213
publish:
1314
runs-on: ubuntu-latest
1415
environment: pypi
15-
permissions:
16-
id-token: write
1716
steps:
1817
- uses: actions/checkout@v4
1918
- uses: actions/setup-python@v5
@@ -25,5 +24,3 @@ jobs:
2524
run: python -m build
2625
- name: Publish to PyPI
2726
uses: pypa/gh-action-pypi-publish@release/v1
28-
with:
29-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)