Skip to content

Commit 415ef56

Browse files
committed
CI: Run build-wheel if [build wheels] is in commit message
1 parent 4a41555 commit 415ef56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
build-wheel:
3131
name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }}
3232
runs-on: ${{ matrix.buildplat[0] }}
33+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[build wheels]')
3334
strategy:
3435
fail-fast: false
3536
matrix:

0 commit comments

Comments
 (0)