Skip to content

Commit 5449b14

Browse files
committed
Update GitHub Action for releases
1 parent a330d04 commit 5449b14

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
# then it triggers our upload to PyPI for a new release.
44
name: Publish to PyPI
55
on:
6-
push:
7-
tags:
8-
- "*"
6+
release:
7+
types: ["published"]
98

109
jobs:
1110
tests:

0 commit comments

Comments
 (0)