mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
Remove Windows Server 2016 related code from the repository (#5994)
This commit is contained in:
committed by
GitHub
parent
493f3c3ee1
commit
8c24b03a8d
@@ -15,12 +15,8 @@ if (Test-IsWin22) {
|
||||
$imageLabel = "windows-2019"
|
||||
$softwareUrl = "${githubUrl}/win19/${imageVersion}/images/win/Windows2019-Readme.md"
|
||||
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win19%2F${imageVersion}"
|
||||
} elseif (Test-IsWin16) {
|
||||
$imageLabel = "windows-2016"
|
||||
$softwareUrl = "${githubUrl}/win16/${imageVersion}/images/win/Windows2016-Readme.md"
|
||||
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win16%2F${imageVersion}"
|
||||
} else {
|
||||
throw "Invalid platform version is found. Either Windows Server 2016 or 2019 or 2022 are required"
|
||||
throw "Invalid platform version is found. Either Windows Server 2019 or 2022 are required"
|
||||
}
|
||||
|
||||
$json = @"
|
||||
|
||||
Reference in New Issue
Block a user