Fix building wheels (#620)

This commit is contained in:
Fangjun Kuang
2024-03-01 15:20:06 +08:00
committed by GitHub
parent 734bbd91dc
commit c093880d7c
9 changed files with 32 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ jobs:
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
- name: Build wheels
uses: pypa/cibuildwheel@v2.15.0
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_ENVIRONMENT: SHERPA_ONNX_CMAKE_ARGS="-A Win32"
CIBW_BUILD: "${{ matrix.python-version}}-* "
@@ -47,6 +47,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: wheel-${{ matrix.python-version }}
path: ./wheelhouse/*.whl
- name: Publish to huggingface