mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
[Windows] Update AzureCosmosDbEmulator signature and Removing VSredist 17 installation in Postgresql (#12247)
* [Windows] Update AzureCosmosDbEmulator signature * [Windows] Removing VC reddist installation in Postgress
This commit is contained in:
@@ -58,14 +58,6 @@ if ($null -ne ($toolsetVersion | Select-String -Pattern '\d+\.\d+\.\d+')) {
|
||||
} while (!$response)
|
||||
}
|
||||
|
||||
if ((Get-ToolsetContent).postgresql.installVcRedist) {
|
||||
# Postgres 14 requires the vs 17 redistributable
|
||||
$vs17RedistUrl = "https://aka.ms/vs/17/release/vc_redist.x64.exe"
|
||||
Install-Binary `
|
||||
-Url $vs17RedistUrl `
|
||||
-InstallArgs @("/install", "/quiet", "/norestart") `
|
||||
-ExpectedSignature (Get-ToolsetContent).postgresql.vcRedistSignature
|
||||
}
|
||||
|
||||
# Return the previous value of ErrorAction and invoke Install-Binary function
|
||||
$ErrorActionPreference = $errorActionOldValue
|
||||
|
||||
Reference in New Issue
Block a user