Skip to content

Commit

Permalink
ci: update cibuildwheel version
Browse files Browse the repository at this point in the history
  • Loading branch information
wst24365888 committed Jul 27, 2024
1 parent 5e35d56 commit 1584005
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,14 @@ jobs:
- name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }}

- name: Setup Python 3.10.4
uses: actions/setup-python@v3
with:
python-version: "3.10.4"
- uses: actions/setup-python@v5

- name: Setup QEMU
if: matrix.os == 'ubuntu-latest'
uses: docker/setup-qemu-action@v2

- uses: pypa/cibuildwheel@v2.11.2
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: ${{ matrix.version }}
CIBW_ARCHS_MACOS: x86_64 arm64
Expand All @@ -108,14 +106,10 @@ jobs:
CIBW_BUILD_VERBOSITY_MACOS: 3
CIBW_PRERELEASE_PYTHONS: True

- name: Verify clean directory
run: git diff --exit-code
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: wheelhouse/*.whl
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

release-pypi:
name: Release to PyPI
Expand All @@ -130,9 +124,7 @@ jobs:
- name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }}

- uses: actions/setup-python@v4
with:
python-version: "3.10.4"
- uses: actions/setup-python@v5

- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 1584005

Please sign in to comment.