mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 22:58:22 +00:00
[Windows] Fix the value of the variable "image_os" for Windows 2025 (#11090)
This commit is contained in:
@@ -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 = @"
|
||||||
|
|||||||
@@ -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" {
|
||||||
|
|||||||
Reference in New Issue
Block a user