mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[Windows] Move choco installation list into toolset (#3688)
* Move choco installation list into toolset * Add a condition to Install-CommonUtils.ps1 * Rename tests and revert Bazel to single script * Return Install-Bazel.ps1 to windows2016.json and windows2019.json * Remove condition and Write-Host command from Install-CommonUtils.ps1 * Reset Install-Bazel.ps1 to be the same as in main * Update choco.common_packages in toolset-2016.json and toolset-2019.json Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
This commit is contained in:
8
images/win/scripts/Installers/Install-CommonUtils.ps1
Normal file
8
images/win/scripts/Installers/Install-CommonUtils.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
$commonPackages = (Get-ToolsetContent).choco.common_packages
|
||||
|
||||
foreach ($package in $commonPackages)
|
||||
{
|
||||
Choco-Install -PackageName $package.name -ArgumentList $package.args
|
||||
}
|
||||
|
||||
Invoke-PesterTests -TestFile "ChocoPackages"
|
||||
Reference in New Issue
Block a user