Fix building wheels for Python 3.7 (#1933)
This commit is contained in:
7
.github/workflows/build-wheels-win64.yaml
vendored
7
.github/workflows/build-wheels-win64.yaml
vendored
@@ -89,11 +89,16 @@ jobs:
|
||||
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main
|
||||
|
||||
- name: Publish wheels to PyPI
|
||||
shell: bash
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install wheel twine==5.0.0 setuptools
|
||||
if [[ ${{ matrix.python-version }} == "3.7" ]]; then
|
||||
python3 -m pip install wheel twine setuptools
|
||||
else
|
||||
python3 -m pip install wheel twine==5.0.0 setuptools
|
||||
fi
|
||||
|
||||
twine upload ./wheelhouse/*.whl
|
||||
|
||||
Reference in New Issue
Block a user