ci: use UTF-8 Python text on self-hosted Windows

This commit is contained in:
Tianyi Cui
2026-09-06 13:49:19 +08:00
parent 69b1e315b4
commit 3a79abedec
5 changed files with 30 additions and 4 deletions
+3
View File
@@ -5,6 +5,9 @@ New-Item -ItemType Directory -Path $root | Out-Null
"root=$root" >> $env:GITHUB_OUTPUT
$privateEnvironment = @{
# Session JSONL and SDK pipes use UTF-8, including on Chinese Windows images.
PYTHONUTF8 = '1'
PYTHONIOENCODING = 'utf-8'
TMP = $root
TEMP = $root
UV_CACHE_DIR = (Join-Path $root 'uv-cache')