Skip to content

Commit

Permalink
ci: fix pypi build
Browse files Browse the repository at this point in the history
  • Loading branch information
long2ice committed Dec 12, 2024
1 parent 09bea07 commit b02a0e2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -28,15 +29,15 @@ 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
with:
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:
Expand Down

0 comments on commit b02a0e2

Please sign in to comment.