Skip to content

Commit df6cbd0

Browse files
committed
switch pypi publishing to trusted publishers
1 parent b75aec1 commit df6cbd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ jobs:
142142
needs: [collect-wheels]
143143
runs-on: ubuntu-latest
144144
if: startsWith(github.ref, 'refs/tags/v')
145+
permissions:
146+
id-token: write
145147
steps:
146148
- uses: actions/download-artifact@v4
147149
with:
@@ -151,6 +153,4 @@ jobs:
151153
- name: Publish to PyPI
152154
uses: pypa/gh-action-pypi-publish@release/v1
153155
with:
154-
password: ${{ secrets.PYPI }}
155156
packages_dir: wheels/
156-
verify_metadata: false

0 commit comments

Comments
 (0)