mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
Change capitalization for Readme name in CI ymls (#4796)
This commit is contained in:
@@ -17,4 +17,4 @@ jobs:
|
|||||||
- template: image-generation.yml
|
- template: image-generation.yml
|
||||||
parameters:
|
parameters:
|
||||||
image_type: ubuntu1804
|
image_type: ubuntu1804
|
||||||
image_readme_name: Ubuntu1804-README.md
|
image_readme_name: Ubuntu1804-Readme.md
|
||||||
@@ -17,4 +17,4 @@ jobs:
|
|||||||
- template: image-generation.yml
|
- template: image-generation.yml
|
||||||
parameters:
|
parameters:
|
||||||
image_type: ubuntu2004
|
image_type: ubuntu2004
|
||||||
image_readme_name: Ubuntu2004-README.md
|
image_readme_name: Ubuntu2004-Readme.md
|
||||||
@@ -7,12 +7,12 @@ image_label="ubuntu-$(lsb_release -rs)"
|
|||||||
github_url="https://github.com/actions/virtual-environments/blob"
|
github_url="https://github.com/actions/virtual-environments/blob"
|
||||||
|
|
||||||
if [[ "$image_label" =~ "ubuntu-20" ]]; then
|
if [[ "$image_label" =~ "ubuntu-20" ]]; then
|
||||||
software_url="${github_url}/ubuntu20/${image_version}/images/linux/Ubuntu2004-README.md"
|
software_url="${github_url}/ubuntu20/${image_version}/images/linux/Ubuntu2004-Readme.md"
|
||||||
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F${image_version}"
|
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F${image_version}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$image_label" =~ "ubuntu-18" ]]; then
|
if [[ "$image_label" =~ "ubuntu-18" ]]; then
|
||||||
software_url="${github_url}/ubuntu18/${image_version}/images/linux/Ubuntu1804-README.md"
|
software_url="${github_url}/ubuntu18/${image_version}/images/linux/Ubuntu1804-Readme.md"
|
||||||
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F${image_version}"
|
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F${image_version}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user