mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
fix aliyun-cli installation (#4147)
This commit is contained in:
committed by
GitHub
parent
bf1cae6dcf
commit
45df250473
@@ -8,7 +8,7 @@
|
||||
source $HELPER_SCRIPTS/install.sh
|
||||
|
||||
# Install Alibaba Cloud CLI
|
||||
URL=$(curl -s https://api.github.com/repos/aliyun/aliyun-cli/releases/latest | jq -r '.assets[].browser_download_url | select(contains("aliyun-cli-linux"))')
|
||||
URL=$(curl -s https://api.github.com/repos/aliyun/aliyun-cli/releases/latest | jq -r '.assets[].browser_download_url | select(contains("aliyun-cli-linux") and endswith("amd64.tgz"))')
|
||||
download_with_retries $URL "/tmp"
|
||||
tar xzf /tmp/aliyun-cli-linux-*-amd64.tgz
|
||||
mv aliyun /usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user