We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9418ce2 commit 114731eCopy full SHA for 114731e
1 file changed
.github/workflows/deploy.yml
@@ -2,9 +2,10 @@ name: Deploy to PyPI
2
3
# Controls when the workflow will run
4
on:
5
- # Triggers the workflow on new releases
6
- release:
7
- types: [published]
+ # Triggers the workflow on tag push
+ push:
+ tags:
8
+ - "v*"
9
10
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11
jobs:
@@ -29,3 +30,8 @@ jobs:
29
30
build: clean sdist -d dist/
31
# `pip` command to run ("true" is a shortcut for "wheel -w <dist_dir> --no-deps .")
32
pip: true
33
+
34
+ - name: Github Release
35
+ uses: softprops/action-gh-release@v1
36
+ with:
37
+ files: dist/*
0 commit comments