add name to upload for v4 #238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
env: | |
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* cp311-* | |
CIBW_SKIP: cp36-* cp37-*win* cp38-*win* cp37-*mac* *-win32 *-manylinux_i686 pp* *musllinux* | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-latest, macos-13, macos-14] | |
steps: | |
- uses: actions/checkout@v4 | |
# Used to host cibuildwheel | |
- uses: actions/setup-python@v5 | |
- name: Install cibuildwheel | |
run: python -m pip install cibuildwheel==2.19.2 | |
- name: Build wheels | |
run: python -m cibuildwheel --output-dir wheelhouse | |
env: | |
CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: ./wheelhouse/*.whl | |
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} |