Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit 4b5fda2

Browse files
committed
Publish on release
1 parent 536b0eb commit 4b5fda2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
branches: [ main, unsquashed-private ]
88
pull_request:
99
branches: [ main, unsquashed-private ]
10+
release:
11+
types: [ published ]
1012

1113
# Run the pipeline daily so that we get continuous dogfooding and coverage of the latest Python
1214
# and PyTest patch versions.
@@ -133,7 +135,7 @@ jobs:
133135
134136
publish:
135137
name: Publish to PyPI
136-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
138+
if: github.event_name == 'release' && startsWith(github.event.ref, 'refs/tags')
137139
runs-on: ubuntu-latest
138140
needs:
139141
- check

0 commit comments

Comments
 (0)