From 37c4a764174d292c828d557e4e9e2aa967ff4fa1 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Thu, 21 Aug 2025 15:56:32 +0000 Subject: [PATCH] fix(github-actions): use `D:/` instead of `C:/` for WSL On Windows 2025, `D:/` was re-introduced again this week to improve performance https://github.com/actions/runner-images/issues/12744 --- github-actions/setup-wsl/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github-actions/setup-wsl/action.yml b/github-actions/setup-wsl/action.yml index 804c55306..3cc7441b7 100644 --- a/github-actions/setup-wsl/action.yml +++ b/github-actions/setup-wsl/action.yml @@ -31,7 +31,7 @@ outputs: value: ${{steps.wsl_paths.outputs.tmp_path}} wsl_root_path: description: Windows path pointing to the WSL file system root (using a symlink). - value: C:\wsl_root + value: D:\wsl_root wsl_root_unc_path: description: UNC Windows path pointing to the WSL file system root. value: \\\\wsl.localhost\Ubuntu-24.04 @@ -94,7 +94,7 @@ runs: - name: Create link to WSL drive shell: powershell - run: New-Item -ItemType SymbolicLink -Path "C:\wsl_root" -Target "\\wsl.localhost\Ubuntu-24.04" + run: New-Item -ItemType SymbolicLink -Path "D:\wsl_root" -Target "\\wsl.localhost\Ubuntu-24.04" - name: Linking workspace into WSL for fast disk access shell: wsl-bash {0}