We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1e1890 commit 74238d6Copy full SHA for 74238d6
1 file changed
.github/workflows/ci-publish.yml
@@ -3,10 +3,8 @@
3
name: Publish release
4
5
on:
6
- push:
7
- tags:
8
- # Run when a tag is pushed with a valid semantic version number
9
- - 'v[0-9]+.[0-9]+.[0-9]+'
+ release:
+ types: [published]
10
11
jobs:
12
build:
@@ -108,4 +106,4 @@ jobs:
108
106
- name: Upload to PyPI
109
107
run: |
110
poetry config repositories.test https://test.pypi.org/legacy/
111
- poetry publish --username ${{ secrets.POETRY_PYPI_TOKEN_USERNAME}} --password ${{ secrets.POETRY_PYPI_TOKEN_PASSWORD}}
+ poetry publish --username ${{ secrets.POETRY_PYPI_TOKEN_USERNAME}} --password ${{ secrets.POETRY_PYPI_TOKEN_PASSWORD}}
0 commit comments