From bc7252d53dcd3215131b582bdad0d4e05248f573 Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Thu, 21 Dec 2023 19:02:26 -0500 Subject: [PATCH] Update to cibuildwheel for Python 3.12 Signed-off-by: Geoff Hutchison --- .github/workflows/build_wheels.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 5238d12e1b..6bd4228797 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -54,11 +54,9 @@ jobs: - uses: actions/setup-python@v5 name: Install Python - with: - python-version: '3.7' - name: Install cibuildwheel - run: pip install cibuildwheel==2.12.3 + run: pip install cibuildwheel==2.16.2 - name: Install dependencies run: . ./scripts/github-actions/install.sh @@ -66,8 +64,9 @@ jobs: - name: Build wheels run: cibuildwheel --output-dir wheelhouse - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} path: ./wheelhouse/*.whl upload_pypi: @@ -77,7 +76,7 @@ jobs: # upload to PyPI on every tag push if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifact path: dist