mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
nitpic
This commit is contained in:
@@ -6,14 +6,14 @@
|
|||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
$toolset = Get-ToolsetContent
|
$toolset = Get-ToolsetContent
|
||||||
$vsixPackagesList = $toolset.visualStudio.vsix
|
$VsixPackagesList = $toolset.visualStudio.vsix
|
||||||
if (-not $vsixPackagesList) {
|
if (-not $VsixPackagesList) {
|
||||||
Write-Host "No extensions to install"
|
Write-Host "No extensions to install"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
$VsVersion = $toolset.visualStudio.Version
|
$VsVersion = $toolset.visualStudio.Version
|
||||||
$vsixPackagesList | ForEach-Object {
|
$VsixPackagesList | ForEach-Object {
|
||||||
Install-VsixExtension -url $_.url -name $_.name -VsVersion $VsVersion
|
Install-VsixExtension -url $_.url -name $_.name -VsVersion $VsVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user