mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Allow postgres to install necessary MSVC redistributables
Newer postgres installes require MSVC 17 which isn't on the box by default. Previously this worked as they required MSVC 16 which was installed by Visual Studio https://github.com/actions/runner-images/pull/11047#issuecomment-2504219995
This commit is contained in:
@@ -60,7 +60,7 @@ if ($null -ne ($toolsetVersion | Select-String -Pattern '\d+\.\d+\.\d+')) {
|
||||
|
||||
# Return the previous value of ErrorAction and invoke Install-Binary function
|
||||
$ErrorActionPreference = $errorActionOldValue
|
||||
$installerArgs = @("--install_runtimes 0", "--superpassword root", "--enable_acledit 1", "--unattendedmodeui none", "--mode unattended")
|
||||
$installerArgs = @("--superpassword root", "--enable_acledit 1", "--unattendedmodeui none", "--mode unattended")
|
||||
Install-Binary `
|
||||
-Url $installerUrl `
|
||||
-InstallArgs $installerArgs `
|
||||
|
||||
Reference in New Issue
Block a user