mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
fix(ci): use windows-2022 to avoid D: drive issue on windows-latest (2025)
This commit is contained in:
10
.github/workflows/tinytorch-validate-dev.yml
vendored
10
.github/workflows/tinytorch-validate-dev.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user