Add Windows Server 2022 image templates (#3929)
* add windows2022 image template Co-authored-by: Aleksandr Chebotov <[email protected]> Co-authored-by: Mikhail Timofeev <[email protected]> Co-authored-by: Aleksandr Chebotov <[email protected]> Co-authored-by: MaksimZhukov <[email protected]>
This commit is contained in:
co-authored by
Aleksandr Chebotov
Mikhail Timofeev
Aleksandr Chebotov
MaksimZhukov
parent
20584a4394
commit
a2d76d2a0e
@@ -7,7 +7,11 @@ $imageVersion = $env:IMAGE_VERSION
|
||||
$imageDataFile = $env:IMAGEDATA_FILE
|
||||
$githubUrl="https://github.com/actions/virtual-environments/blob"
|
||||
|
||||
if (Test-IsWin19) {
|
||||
if (Test-IsWin22) {
|
||||
$imageLabel = "windows-2022"
|
||||
$softwareUrl = "${githubUrl}/win22/${imageVersion}/images/win/Windows2022-Readme.md"
|
||||
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win22%2F${imageVersion}"
|
||||
} elseif (Test-IsWin19) {
|
||||
$imageLabel = "windows-2019"
|
||||
$softwareUrl = "${githubUrl}/win19/${imageVersion}/images/win/Windows2019-Readme.md"
|
||||
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win19%2F${imageVersion}"
|
||||
|
||||
Reference in New Issue
Block a user