From 57c055939f4110ba9daa7ff39a2000a0688cec77 Mon Sep 17 00:00:00 2001 From: Daniel Stoops Date: Tue, 1 Oct 2024 09:53:43 +0300 Subject: [PATCH] FIX: use CIBW_BUILD to specify Python build version --- .github/workflows/publish-to-pypi.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 83b530e..9989b30 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -29,10 +29,9 @@ jobs: path: dist/ build_wheels: - name: Build wheels on ${{matrix.os}} for Python `${{matrix.python-version}} 🎡 + name: Build wheels on ${{matrix.os}} 🎡 strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] # os: [ubuntu-latest, windows-latest, macos-13, macos-14] os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} @@ -41,7 +40,7 @@ jobs: - name: Build wheels 🎡 env: - # CIBW_BUILD: "cp311-*" + CIBW_BUILD: 'cp38-* cp39-* cp310-* cp311-* cp312-*' CIBW_SKIP: "pp* *-win32 *_i686" uses: pypa/cibuildwheel@v2.21.1