From 45e000c3950d70aa785c347c390823c7bc4c1c3d Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sat, 14 Sep 2024 11:03:44 +0000 Subject: [PATCH] Revert "MSVC CI script: Don't run vswhere to find dumpbin.exe, since it is not used" This reverts commit 8bca2fa6439331884a4dcab1418e5f4f3bdac4f0. --- CI/msvc/before_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CI/msvc/before_install.sh b/CI/msvc/before_install.sh index 1a040d421..5388e84f8 100644 --- a/CI/msvc/before_install.sh +++ b/CI/msvc/before_install.sh @@ -5,3 +5,6 @@ curl -LfsS -o "vcpkg-export-${VCMI_BUILD_PLATFORM}-windows-v143.7z" \ #rm -r -f vcpkg/installed/${VCMI_BUILD_PLATFORM}-windows/debug #mkdir -p vcpkg/installed/${VCMI_BUILD_PLATFORM}-windows/debug/bin #cp vcpkg/installed/${VCMI_BUILD_PLATFORM}-windows/bin/* vcpkg/installed/${VCMI_BUILD_PLATFORM}-windows/debug/bin + +DUMPBIN_DIR=$(vswhere -latest -find **/dumpbin.exe | head -n 1) +dirname "$DUMPBIN_DIR" > $GITHUB_PATH