Skip to content

Commit

Permalink
don't build wheels through pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
glyg committed Feb 14, 2024
1 parent ffff23e commit 7c3e7e8
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,24 @@ on:
- published

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-22.04, windows-2022, macos-13, macos-14]
# build_wheels:
# name: Build wheels on ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# # macos-13 is an intel runner, macos-14 is apple silicon
# os: [ubuntu-22.04, windows-2022, macos-13, macos-14]

steps:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/[email protected]
# steps:
# - uses: actions/checkout@v4

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
# - name: Build wheels
# uses: pypa/[email protected]

# - uses: actions/upload-artifact@v4
# with:
# name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
# path: ./wheelhouse/*.whl
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
Expand All @@ -49,7 +48,7 @@ jobs:
path: dist/*.tar.gz

upload_pypi:
needs: [build_wheels, build_sdist]
needs: [build_sdist]
runs-on: ubuntu-latest
environment: pypi
permissions:
Expand Down

0 comments on commit 7c3e7e8

Please sign in to comment.