Skip to content

Commit ab8ae94

Browse files
Merge pull request #50 from python-thread/ci/releasing
ci: Trigger on release instead of tag
2 parents f691224 + e490746 commit ab8ae94

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
name: Upload Python Package
22

3-
43
on:
54
workflow_dispatch:
6-
push:
7-
tags:
8-
- v*.*.*
9-
5+
release:
6+
types: [published]
107

118
permissions:
129
contents: read
1310

14-
1511
jobs:
1612
pypi-publish:
1713
name: Upload release to PyPI

0 commit comments

Comments
 (0)