diff --git a/.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml b/.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml index 70819835423a8c01657140b9d1522bcea683236a..c1b3153281f541645442ea9230ecfa681d04662b 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