mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
add link to image release (#2783)
This commit is contained in:
committed by
GitHub
parent
d707864e45
commit
fdea69d18f
@@ -11,12 +11,14 @@ if ($caption -match "2019")
|
||||
{
|
||||
$imageLabel = "windows-2019"
|
||||
$softwareUrl = "${githubUrl}/win19/${imageVersion}/images/win/Windows2019-Readme.md"
|
||||
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win19%2F${imageVersion}"
|
||||
}
|
||||
|
||||
if ($caption -match "2016")
|
||||
{
|
||||
$imageLabel = "windows-2016"
|
||||
$softwareUrl = "${githubUrl}/win16/${imageVersion}/images/win/Windows2016-Readme.md"
|
||||
$releaseUrl="https://github.com/actions/virtual-environments/releases/tag/win16%2F${imageVersion}"
|
||||
}
|
||||
|
||||
$json = @"
|
||||
@@ -27,7 +29,7 @@ $json = @"
|
||||
},
|
||||
{
|
||||
"group": "Virtual Environment",
|
||||
"detail": "Environment: ${imageLabel}\nVersion: ${imageVersion}\nIncluded Software: ${softwareUrl}"
|
||||
"detail": "Environment: ${imageLabel}\nVersion: ${imageVersion}\nIncluded Software: ${softwareUrl}\nImage Release: ${releaseUrl}"
|
||||
}
|
||||
]
|
||||
"@
|
||||
|
||||
Reference in New Issue
Block a user