mirror of
https://github.com/actions/runner-images.git
synced 2025-12-29 05:17:11 +08:00
add link to image release (#2783)
This commit is contained in:
committed by
GitHub
parent
d707864e45
commit
fdea69d18f
@@ -11,6 +11,7 @@ label_version=$(echo $os_version | cut -d. -f1,2)
|
||||
image_label="macos-${label_version}"
|
||||
release_label="macOS-${label_version}"
|
||||
software_url="https://github.com/actions/virtual-environments/blob/${release_label}/${image_version}/images/macos/${image_label}-Readme.md"
|
||||
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/${release_label}%2F${image_version}"
|
||||
|
||||
cat <<EOF > $imagedata_file
|
||||
[
|
||||
@@ -20,7 +21,7 @@ cat <<EOF > $imagedata_file
|
||||
},
|
||||
{
|
||||
"group": "Virtual Environment",
|
||||
"detail": "Environment: ${image_label}\nVersion: ${image_version}\nIncluded Software: ${software_url}"
|
||||
"detail": "Environment: ${image_label}\nVersion: ${image_version}\nIncluded Software: ${software_url}\nImage Release: ${releaseUrl}"
|
||||
}
|
||||
]
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user