mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 20:26:49 +00:00
17 lines
574 B
Bash
17 lines
574 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: aliyun-cli.sh
|
|
## Desc: Installs Alibaba Cloud CLI
|
|
################################################################################
|
|
|
|
# Source the helpers for use with the script
|
|
source $HELPER_SCRIPTS/install.sh
|
|
|
|
# Install Alibaba Cloud CLI
|
|
downloadUrl="https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz"
|
|
download_with_retries $downloadUrl "/tmp"
|
|
tar xzf /tmp/aliyun-cli-linux-*-amd64.tgz
|
|
mv aliyun /usr/local/bin
|
|
|
|
invoke_tests "CLI.Tools" "Aliyun CLI"
|