Skip to content

Commit a6e11b4

Browse files
committed
Build wheels on pull-requests
1 parent a4ebd9f commit a6e11b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '*'
7+
pull_request:
78

89
jobs:
910
build:
@@ -137,7 +138,7 @@ jobs:
137138

138139
publish-to-pypi:
139140
name: Publish Python 🐍 distribution 📦 to PyPI
140-
if: endsWith(github.ref, '-debug-publish-action') != true
141+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
141142
needs:
142143
- build
143144
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)