From 820bfa13b54547e7dec0fd85e44cf8f4e9fd5b94 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 17 Aug 2025 16:51:38 +0200 Subject: [PATCH] Revert "try-sth-1" This reverts commit cedb3f3d4c4e9e334055016c6786715fea21c0b9. --- .github/workflows/windows.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6498116879..5cb68686ad 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -840,7 +840,8 @@ jobs: # has no stable disk location, its an MS-DOS batch file setting env, # and makes it problematic to use from this script. [[ "$(uname -s)" = *'ARM64'* ]] && MSVC_HOST='arm64' || MSVC_HOST='x64' # x86 - MSVC_ROOTU="$(/usr/bin/find "$(cygpath --unix "$PROGRAMFILES/Microsoft Visual Studio/2022/Community/vc/tools/msvc")" -mindepth 1 -maxdepth 1 -type d | head -n 1)" + MSVC_ROOTD="$(cygpath --dos "$PROGRAMFILES/Microsoft Visual Studio")" # to avoid spaces + MSVC_ROOTU="$(/usr/bin/find "$(cygpath --unix "$MSVC_ROOTD/2022/Community/vc/tools/msvc")" -mindepth 1 -maxdepth 1 -type d | head -n 1)" MSVC_ROOTW="$(cygpath --windows "$MSVC_ROOTU")" MSVC_ROOTU="$(cygpath --unix "$MSVC_ROOTW")" MSVC_BINU="$MSVC_ROOTU/bin/Host$MSVC_HOST/$MATRIX_ARCH"