Skip to content

Commit 452f4d4

Browse files
author
Matevz Morato
committed
Fix Windows wheels building
1 parent f23558c commit 452f4d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ jobs:
207207
- name: Select Windows SDK
208208
run: echo "CMAKE_ARGS=-DCMAKE_SYSTEM_VERSION=${{ env.CMAKE_WINDOWS_SDK_VERSION }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
209209

210+
- name: Set UTF-8 encoding
211+
run: |
212+
echo "PYTHONIOENCODING=utf-8" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
213+
echo "PYTHONUTF8=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
214+
210215
- name: Install dependencies
211216
run: choco install strawberryperl
212217
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)