Skip to content

Commit

Permalink
change to openid upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 committed Sep 22, 2024
1 parent 3103fce commit 64cbd15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:

permissions:
contents: read
id-token: write

jobs:
linux:
Expand Down Expand Up @@ -121,12 +122,11 @@ jobs:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist]
environment: release
steps:
- uses: actions/download-artifact@v4
- 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 wheels-*/*

0 comments on commit 64cbd15

Please sign in to comment.