Skip to content

Commit 5505e31

Browse files
committed
use PyPI truested publisher
1 parent bdcc0e8 commit 5505e31

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ jobs:
257257
name: Release
258258
runs-on: ubuntu-latest
259259
if: "startsWith(github.ref, 'refs/tags/')"
260+
permissions:
261+
id-token: write
260262
needs:
261263
[
262264
lint,
@@ -273,13 +275,10 @@ jobs:
273275
with:
274276
pattern: wheels-*
275277
merge-multiple: true
278+
- name: Install uv
279+
uses: astral-sh/setup-uv@v7
276280
- name: Publish to PyPI
277-
uses: PyO3/maturin-action@v1
278-
env:
279-
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
280-
with:
281-
command: upload
282-
args: --skip-existing *
281+
run: uv publish 'wheels-*/*'
283282

284283
docs:
285284
name: Publish docs

0 commit comments

Comments
 (0)