We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abdd31c commit 70a9719Copy full SHA for 70a9719
.github/workflows/release.yml
@@ -1,6 +1,8 @@
1
name: release
2
3
-on: push
+on:
4
+ release:
5
+ types: [published]
6
7
jobs:
8
publish-pypi:
@@ -16,7 +18,6 @@ jobs:
16
18
- name: Generating distribution archives
17
19
run: python setup.py sdist bdist_wheel
20
- name: Publish distribution 📦 to PyPI
- if: startsWith(github.event.ref, 'refs/tags')
21
uses: pypa/gh-action-pypi-publish@release/v1
22
with:
23
user: __token__
0 commit comments