summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2022-09-19 15:04:00 +0100
committerMichael Williamson <mike@zwobble.org>2022-09-19 15:25:30 +0100
commit84080830b79f160dfb49d543225a4396f98b35c0 (patch)
tree2458e373cd756165e88f2ff49d737b23725a5424 /.github/workflows
parent469d3a72aed7a8ff6616a032d9a3bf985d861974 (diff)
Build sample wheel when not releasing
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1afcbda..9468144 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -116,12 +116,12 @@ jobs:
python -m cibuildwheel --only ${{ matrix.cibw-only }} --print-build-identifiers
- name: Build wheels
- if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') }}
+ if: ${{ (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')) || matrix.cibw-only == 'cp310-manylinux_x86_64' }}
uses: pypa/cibuildwheel@v2.10.1
with:
only: ${{ matrix.cibw-only }}
- uses: actions/upload-artifact@v2
- if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') }}
+ if: ${{ (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')) || matrix.cibw-only == 'cp310-manylinux_x86_64' }}
with:
path: ./wheelhouse/*.whl