change to openid upload

This commit is contained in:
tuna2134
2024-09-22 07:36:03 +00:00
parent 3103fcef17
commit 64cbd151a6

View File

@@ -17,6 +17,7 @@ on:
permissions:
contents: read
id-token: write
jobs:
linux:
@@ -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-*/*