mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +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:
@@ -5,6 +5,6 @@
|
||||
|
||||
Install-Binary -Type MSI `
|
||||
-Url "https://aka.ms/cosmosdb-emulator" `
|
||||
-ExpectedSHA256Sum "E2BEB2B242FEE3C1DD444C748C1ED1DC0120566ADC0A7BC612EB8EFB8D416089"
|
||||
-ExpectedSHA256Sum "BFBA892C3B9E27093A6AA36CD3C447D812CA32D6A4361DB64E753A63C90C2766"
|
||||
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "Azure Cosmos DB Emulator"
|
||||
|
||||
@@ -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