Skip to content

Commit ba16ec9

Browse files
committed
Downgrade Py3.10 version to avoid additional characters in build path
1 parent e3f8b4e commit ba16ec9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/wheel_win_x86_64.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- uses: actions/setup-python@v4
7777
name: Install Python
7878
with:
79-
python-version: ${{ fromJson('{ "cp37-*":"3.7","cp38-*":"3.8","cp39-*":"3.9","cp310-*":"3.10" }')[matrix.py_version] }}
79+
python-version: ${{ fromJson('{ "cp37-*":"3.7","cp38-*":"3.8","cp39-*":"3.9","cp310-*":"3.10.5" }')[matrix.py_version] }}
8080

8181
- name: Install cibuildwheel
8282
run: python -m pip install cibuildwheel==2.8.1
@@ -88,9 +88,9 @@ jobs:
8888
Subst Z: (pwd)
8989
Set-Location -Path "Z:\"
9090
python -m pip install wheel cmake==3.21 ninja build
91-
python setup.py bdist_wheel
92-
Set-Location -Path "./dist"
93-
foreach ($i in Get-ChildItem -Path ./*.whl){
91+
python setup.py bdist_wheel --build-base Z:\
92+
Set-Location -Path ".\dist"
93+
foreach ($i in Get-ChildItem -Path .\*.whl){
9494
python -m wheel unpack $i.Name
9595
$name = $i.Name
9696
$dirName = python -c "s = '$name'; print('-'.join(s.split('-')[0:2]))"

0 commit comments

Comments
 (0)