fix: toolsets url - current 20231115

images are broken

* GitHub renamed the linux folder of their repo to ubuntu
This commit is contained in:
ChristopherHX
2023-11-19 14:31:12 +00:00
parent 0037a6d5ce
commit c37123c140
+1 -1
View File
@@ -80,7 +80,7 @@ apt-get install -y git-lfs
LSB_OS_VERSION="${VERSION_ID//\./}" LSB_OS_VERSION="${VERSION_ID//\./}"
echo "LSB_OS_VERSION=${LSB_OS_VERSION}" | tee -a "/etc/environment" echo "LSB_OS_VERSION=${LSB_OS_VERSION}" | tee -a "/etc/environment"
wget -qO "/imagegeneration/toolset.json" "https://raw.githubusercontent.com/actions/virtual-environments/main/images/linux/toolsets/toolset-${LSB_OS_VERSION}.json" || echo "File not available" wget -qO "/imagegeneration/toolset.json" "https://raw.githubusercontent.com/actions/virtual-environments/main/images/ubuntu/toolsets/toolset-${LSB_OS_VERSION}.json" || echo "File not available"
wget -qO "/imagegeneration/LICENSE" "https://raw.githubusercontent.com/actions/virtual-environments/main/LICENSE" wget -qO "/imagegeneration/LICENSE" "https://raw.githubusercontent.com/actions/virtual-environments/main/LICENSE"
if [ "$(uname -m)" = x86_64 ]; then if [ "$(uname -m)" = x86_64 ]; then