mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[ubuntu20] Pin aliyun to 3.0.174 (#8109)
This commit is contained in:
committed by
GitHub
parent
5368cb6a69
commit
0c0af47317
@@ -5,10 +5,18 @@
|
||||
################################################################################
|
||||
|
||||
# Source the helpers for use with the script
|
||||
source $HELPER_SCRIPTS/os.sh
|
||||
source $HELPER_SCRIPTS/install.sh
|
||||
|
||||
# Install Alibaba Cloud CLI
|
||||
# Pin tool version on ubuntu20 due to issues with GLIBC_2.32 not available
|
||||
if isUbuntu20; then
|
||||
toolsetVersion=$(get_toolset_value '.aliyunCli.version')
|
||||
downloadUrl="https://github.com/aliyun/aliyun-cli/releases/download/v$toolsetVersion/aliyun-cli-linux-$toolsetVersion-amd64.tgz"
|
||||
else
|
||||
downloadUrl="https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz"
|
||||
fi
|
||||
|
||||
download_with_retries $downloadUrl "/tmp"
|
||||
tar xzf /tmp/aliyun-cli-linux-*-amd64.tgz
|
||||
mv aliyun /usr/local/bin
|
||||
|
||||
@@ -361,5 +361,8 @@
|
||||
},
|
||||
"pwsh": {
|
||||
"version": "7.2"
|
||||
},
|
||||
"aliyunCli": {
|
||||
"version": "3.0.174"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user