summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build_wheels.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 662a604..f779d93 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -4,12 +4,14 @@ on:
release:
push:
branches:
- - "master"
+ - "*"
jobs:
build_wheels:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
+ if: "contains(github.event.head_commit.message, 'build wheels') ||
+ github.event.head_commit.branch == 'master' "
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
@@ -30,7 +32,7 @@ jobs:
- name: Install cibuildwheel
run: |
- python -m pip install cibuildwheel==1.3.0
+ python -m pip install cibuildwheel==1.10.0
- name: Install Visual C++ for Python 2.7
if: startsWith(matrix.os, 'windows')