Skip to content

Commit bd2220c

Browse files
committed
move tag check to start of action
1 parent 04462f9 commit bd2220c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
name: Publish Python distributions to PyPI and TestPyPI
1+
on:
2+
push:
3+
# Sequence of patterns matched against refs/tags
4+
tags:
5+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
26

3-
on: push
7+
name: Publish Python distributions to PyPI and TestPyPI
48

59
jobs:
610
build-and-publish:

0 commit comments

Comments
 (0)