Skip to content

Commit 9eb6364

Browse files
committed
fix: add environment for PyPI Trusted Publisher
1 parent ee7157d commit 9eb6364

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
release:
2929
runs-on: ubuntu-latest
3030
needs: test
31+
environment: pypi
3132
permissions:
3233
contents: write
3334
id-token: write
@@ -63,5 +64,3 @@ jobs:
6364

6465
- name: Publish to PyPI
6566
uses: pypa/gh-action-pypi-publish@release/v1
66-
with:
67-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)