diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 475019c12..d4bc4eb1b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -49,13 +49,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-python@v4 - with: - python-version: "3.x" - name: Build wheels - run: | - python3 -m pip install cibuildwheel - python3 -m cibuildwheel --output-dir wheelhouse + uses: pypa/cibuildwheel@v2.16.2 + with: + output-dir: wheelhouse env: CIBW_ARCHS: ${{ matrix.archs }} CIBW_BUILD: ${{ matrix.build }}