windows build
Some checks failed
demo.yaml / windows build (push) Failing after 0s

This commit is contained in:
Jorijn van der Graaf 2026-03-01 08:25:54 +01:00
commit d68c1de9fc

View file

@ -9,7 +9,7 @@ $vsPath = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.ex
$directoryPath = Join-Path -Path $vsPath -ChildPath "VC\Tools\MSVC"
# Get all folders (assumes version format like 14.50.35717)
$folders = Get-ChildItem -Path $directoryPath /Directory
$folders = Get-ChildItem -Path $directoryPath -Directory
# Sort the folders by version and select the latest one
$latestVersionFolder = $folders | Sort-Object { [Version]$_.Name } /Descending | Select-Object -First 1