From b02a0e29e8f0bc142cbc76b70f3b5a91d68ca7a5 Mon Sep 17 00:00:00 2001 From: long2ice Date: Mon, 2 Dec 2024 16:58:19 +0800 Subject: [PATCH] ci: fix pypi build --- .github/workflows/pypi.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index bf8ca35..de9776c 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -9,15 +9,16 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ] + os: [ubuntu-latest, windows-latest, macos-13, macos-latest] steps: - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: actions/setup-python@v5 - name: Build wheels - uses: pypa/cibuildwheel@v2.17.0 + uses: pypa/cibuildwheel@v2.22.0 env: - CIBW_SKIP: "cp36-* *-win32 *-manylinux_i686 *-musllinux_i686" + CIBW_SKIP: "pp* cp36-* cp37-* *-win32 *-manylinux_i686 *-musllinux_i686" - uses: actions/upload-artifact@v4 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} @@ -28,7 +29,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: abatilo/actions-poetry@v2 + - uses: abatilo/actions-poetry@v3 - name: Build run: poetry build - uses: actions/upload-artifact@v4 @@ -36,7 +37,7 @@ jobs: path: dist/*.tar.gz upload: runs-on: ubuntu-latest - needs: [ build_wheels, build_sdist ] + needs: [build_wheels, build_sdist] steps: - uses: actions/download-artifact@v4 with: