Skip to content

Commit

Permalink
use OICD trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Apr 14, 2024
1 parent 04ec7fc commit efae05c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,15 @@ jobs:
# only release if this is a release
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist]
permissions:
# https://github.com/PyO3/maturin/issues/1575#issuecomment-1753785859
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: wheels
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing *

0 comments on commit efae05c

Please sign in to comment.