mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Make install optional as probably not needed for next windows 2025 build
This commit is contained in:
@@ -58,12 +58,14 @@ if ($null -ne ($toolsetVersion | Select-String -Pattern '\d+\.\d+\.\d+')) {
|
|||||||
} while (!$response)
|
} while (!$response)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Postgres 14 requires the vs 17 redistributable
|
if ((Get-ToolsetContent).postgresql.installVcRedist) {
|
||||||
$vs17RedistUrl = "https://aka.ms/vs/17/release/vc_redist.x64.exe"
|
# Postgres 14 requires the vs 17 redistributable
|
||||||
Install-Binary `
|
$vs17RedistUrl = "https://aka.ms/vs/17/release/vc_redist.x64.exe"
|
||||||
|
Install-Binary `
|
||||||
-Url $vs17RedistUrl `
|
-Url $vs17RedistUrl `
|
||||||
-InstallArgs @("/install", "/quiet", "/norestart") `
|
-InstallArgs @("/install", "/quiet", "/norestart") `
|
||||||
-ExpectedSignature (Get-ToolsetContent).postgresql.vcRedistSignature
|
-ExpectedSignature (Get-ToolsetContent).postgresql.vcRedistSignature
|
||||||
|
}
|
||||||
|
|
||||||
# Return the previous value of ErrorAction and invoke Install-Binary function
|
# Return the previous value of ErrorAction and invoke Install-Binary function
|
||||||
$ErrorActionPreference = $errorActionOldValue
|
$ErrorActionPreference = $errorActionOldValue
|
||||||
|
|||||||
@@ -474,7 +474,8 @@
|
|||||||
"postgresql": {
|
"postgresql": {
|
||||||
"signature": "698BA51AA27CC31282AACA5055E4B9190BC6C0E9",
|
"signature": "698BA51AA27CC31282AACA5055E4B9190BC6C0E9",
|
||||||
"version": "14",
|
"version": "14",
|
||||||
"vcRedistSignature": "245D262748012A4FE6CE8BA6C951A4C4AFBC3E5D"
|
"vcRedistSignature": "245D262748012A4FE6CE8BA6C951A4C4AFBC3E5D",
|
||||||
|
"installVcRedist": true
|
||||||
},
|
},
|
||||||
"kotlin": {
|
"kotlin": {
|
||||||
"version": "latest"
|
"version": "latest"
|
||||||
|
|||||||
@@ -383,7 +383,8 @@
|
|||||||
"postgresql": {
|
"postgresql": {
|
||||||
"signature": "698BA51AA27CC31282AACA5055E4B9190BC6C0E9",
|
"signature": "698BA51AA27CC31282AACA5055E4B9190BC6C0E9",
|
||||||
"version": "14",
|
"version": "14",
|
||||||
"vcRedistSignature": "245D262748012A4FE6CE8BA6C951A4C4AFBC3E5D"
|
"vcRedistSignature": "245D262748012A4FE6CE8BA6C951A4C4AFBC3E5D",
|
||||||
|
"installVcRedist": true
|
||||||
},
|
},
|
||||||
"kotlin": {
|
"kotlin": {
|
||||||
"version": "latest"
|
"version": "latest"
|
||||||
|
|||||||
Reference in New Issue
Block a user