Skip to content

Commit

Permalink
Configure PyPI release stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed May 16, 2024
1 parent 496ab9c commit f5c0b70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/flatgfa-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,15 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist]
permissions:
id-token: write
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 f5c0b70

Please sign in to comment.