mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-04 00:44:52 +08:00
[macOS 11] Fix for invalid link to release and software report (#3954)
This commit is contained in:
@@ -8,6 +8,11 @@ os_name=$(sw_vers -productName)
|
||||
os_version=$(sw_vers -productVersion)
|
||||
os_build=$(sw_vers -buildVersion)
|
||||
label_version=$(echo $os_version | cut -d. -f1,2)
|
||||
if is_Less_BigSur; then
|
||||
label_version=$(echo $os_version | cut -d. -f1,2)
|
||||
else
|
||||
label_version=$(echo $os_version | cut -d. -f1)
|
||||
fi
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user