[windows] Pin the cmake version to 3.31.6 (#11936)

* [windows] Pin the cmake version to 3.31.6

* [windows] adjust  choco script

* Fix choco build failure

* Add version parameter to choco script
This commit is contained in:
kishorekumar-anchala
2025-04-06 05:37:45 +00:00
committed by GitHub
parent 5efa00f978
commit 68d05af296
5 changed files with 14 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
$commonPackages = (Get-ToolsetContent).choco.common_packages
foreach ($package in $commonPackages) {
Install-ChocoPackage $package.name -ArgumentList $package.args
Install-ChocoPackage $package.name -Version $package.version -ArgumentList $package.args
}
Invoke-PesterTests -TestFile "ChocoPackages"