Skip to content

Commit 67bd3ce

Browse files
Switch PyPI publish from Trusted Publisher to token auth
1 parent b74508e commit 67bd3ce

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
jobs:
88
publish:
99
runs-on: ubuntu-latest
10-
environment: pypi
11-
permissions:
12-
id-token: write
1310
steps:
1411
- uses: actions/checkout@v4
1512

@@ -25,3 +22,5 @@ jobs:
2522

2623
- name: Publish to PyPI
2724
uses: pypa/gh-action-pypi-publish@release/v1
25+
with:
26+
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)