fix(ci): use windows-2022 to avoid D: drive issue on windows-latest (2025)

This commit is contained in:
Vijay Janapa Reddi
2026-01-26 15:10:09 -05:00
parent 4cc97325a4
commit dda4326fd3

View File

@@ -93,9 +93,6 @@ env:
TINYTORCH_QUIET: "1"
PYTHONIOENCODING: "utf-8" # Required for Windows emoji support in Rich
PYTHONUTF8: "1" # Force UTF-8 for all Python I/O (subprocess pipes)
# Debug logging for Windows D:\a issue investigation
ACTIONS_RUNNER_DEBUG: "true"
ACTIONS_STEP_DEBUG: "true"
jobs:
# ===========================================================================
@@ -149,10 +146,13 @@ jobs:
case "$OS_INPUT" in
windows)
echo 'os_matrix=["windows-latest"]' >> $GITHUB_OUTPUT
# Use windows-2022: windows-latest (2025) has D: drive removed but runner still expects D:\a
# See: https://github.com/actions/runner-images/issues/12416
echo 'os_matrix=["windows-2022"]' >> $GITHUB_OUTPUT
;;
all)
echo 'os_matrix=["ubuntu-latest","windows-latest"]' >> $GITHUB_OUTPUT
# Use windows-2022: windows-latest (2025) has D: drive removed but runner still expects D:\a
echo 'os_matrix=["ubuntu-latest","windows-2022"]' >> $GITHUB_OUTPUT
;;
*)
# Default: Linux only