From 88a11a0aeca67609db0752df6e806669676fc919 Mon Sep 17 00:00:00 2001
From: Maxence Naud <maxence.naud@cea.fr>
Date: Thu, 23 Jan 2025 13:35:17 +0000
Subject: [PATCH] Update cibuildwheel_windows.gitlab-ci.yml

---
 .gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml b/.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml
index 7081983..c1b3153 100644
--- a/.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml
+++ b/.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml
@@ -51,7 +51,7 @@ release:pip:windows:
     - choco install python -y
     - $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
     # Explicitly set up Visual Studio environment
-    - $vsPath = vswhere -latest -property installationPath
+    - $vsPath = "C:\Program Files\Microsoft Visual Studio\2022\BuildTools"
     - Import-Module "$vsPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
     - Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation
     - py -m pip install cibuildwheel==2.22.0
-- 
GitLab