Skip to content

Commit 26e1704

Browse files
committed
Updated pypi.yaml to run on version updates.
1 parent 4bdb8df commit 26e1704

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pypi.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Publish packackage to PyPI
22

33
on:
44
workflow_dispatch:
5+
push:
6+
tags:
7+
- "v*.*.*"
58

69
jobs:
710
build:
@@ -31,7 +34,6 @@ jobs:
3134
publish-to-pypi:
3235
name: >-
3336
Publish Python 🐍 distribution 📦 to PyPI
34-
if: startsWith(github.ref, 'refs/tags/')
3537
needs:
3638
- build
3739
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)