Skip to content

Commit 9cc4fc6

Browse files
committed
fix(github-actions): use D:/ instead of C:/ for WSL
On Windows 2025, `D:/` was re-introduced again this week to improve performance actions/runner-images#12744
1 parent 974f5f6 commit 9cc4fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github-actions/setup-wsl/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ outputs:
3131
value: ${{steps.wsl_paths.outputs.tmp_path}}
3232
wsl_root_path:
3333
description: Windows path pointing to the WSL file system root (using a symlink).
34-
value: C:\wsl_root
34+
value: D:\wsl_root
3535
wsl_root_unc_path:
3636
description: UNC Windows path pointing to the WSL file system root.
3737
value: \\\\wsl.localhost\Ubuntu-24.04
@@ -94,7 +94,7 @@ runs:
9494

9595
- name: Create link to WSL drive
9696
shell: powershell
97-
run: New-Item -ItemType SymbolicLink -Path "C:\wsl_root" -Target "\\wsl.localhost\Ubuntu-24.04"
97+
run: New-Item -ItemType SymbolicLink -Path "D:\wsl_root" -Target "\\wsl.localhost\Ubuntu-24.04"
9898

9999
- name: Linking workspace into WSL for fast disk access
100100
shell: wsl-bash {0}

0 commit comments

Comments
 (0)