Skip to content

Commit d4e6137

Browse files
committed
switch to OIDC publishing for PyPI
1 parent 4bc9de7 commit d4e6137

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ jobs:
119119

120120
deploy:
121121
uses: mhils/workflows/.github/workflows/python-deploy.yml@main
122-
needs: [test, build]
122+
needs: check
123123
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
124+
permissions:
125+
id-token: write
124126
with:
125127
artifact: wheels
126128
# repository: testpypi
127129
# environment: deploy-testpypi
128-
secrets:
129-
password: ${{ secrets.PYPI_TOKEN }}
130130

131131
check:
132132
if: always()

0 commit comments

Comments
 (0)