From 84080830b79f160dfb49d543225a4396f98b35c0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 19 Sep 2022 15:04:00 +0100 Subject: Build sample wheel when not releasing --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3