Skip to content

Commit

Permalink
use id-toekn to release
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Sep 15, 2024
1 parent 29b9294 commit c918547
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
if: startsWith(github.ref, 'refs/tags/')
needs:
[
Expand All @@ -193,8 +196,6 @@ jobs:
- uses: actions/download-artifact@v4
- name: Publish to PyPI
uses: messense/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --skip-existing wheels-*/*

0 comments on commit c918547

Please sign in to comment.