We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34eee7c commit bcade56Copy full SHA for bcade56
1 file changed
.github/workflows/publish.yml
@@ -7,7 +7,7 @@ name: Publish to PyPI
7
8
on:
9
release:
10
- types: [published]
+ types: [published, prereleased]
11
12
permissions:
13
contents: read
@@ -82,7 +82,7 @@ jobs:
82
with:
83
subject-path: "wheels-*/*"
84
- name: Publish to PyPI
85
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
+ if: ${{ startsWith(github.event.release.tag_name, 'v') }}
86
uses: PyO3/maturin-action@v1
87
env:
88
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments