[Windows] Fix the value of the variable "image_os" for Windows 2025 (#11090)

This commit is contained in:
Alexey-Ayupov
2024-12-03 14:02:45 +01:00
committed by GitHub
parent c8985638bc
commit 4730894910
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ if (Test-IsWin25) {
$softwareUrl = "${githubUrl}/win19/$imageMajorVersion.$imageMinorVersion/images/windows/Windows2019-Readme.md" $softwareUrl = "${githubUrl}/win19/$imageMajorVersion.$imageMinorVersion/images/windows/Windows2019-Readme.md"
$releaseUrl = "https://github.com/actions/runner-images/releases/tag/win19%2F$imageMajorVersion.$imageMinorVersion" $releaseUrl = "https://github.com/actions/runner-images/releases/tag/win19%2F$imageMajorVersion.$imageMinorVersion"
} else { } else {
throw "Invalid platform version is found. Either Windows Server 2019 or 2022 are required" throw "Invalid platform version is found. Either Windows Server 2019, 2022 or 2025 are required"
} }
$json = @" $json = @"

View File

@@ -59,7 +59,7 @@ variable "image_folder" {
variable "image_os" { variable "image_os" {
type = string type = string
default = "win22" default = "win25"
} }
variable "image_version" { variable "image_version" {