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

This commit is contained in:
Jorijn van der Graaf 2026-02-23 02:35:47 +01:00
commit cce177542b

View file

@ -12,7 +12,7 @@ $directoryPath = Join-Path -Path $vsPath -ChildPath "VC\Tools\MSVC"
$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
$latestVersionFolder = $folders | Sort-Object { [Version]$_.Name } -Descending | Select-Object -First 1
# Store the latest version folder name
$msvcVersion = $latestVersionFolder.Name