mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 03:57:32 +00:00
14 lines
663 B
Bash
14 lines
663 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: azure-cli.sh
|
|
## Desc: Installed Azure CLI (az)
|
|
################################################################################
|
|
|
|
# Install Azure CLI (instructions taken from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
|
|
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
|
echo "azure-cli https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt" >> $HELPER_SCRIPTS/apt-sources.txt
|
|
rm -f /etc/apt/sources.list.d/azure-cli.list
|
|
rm -f /etc/apt/sources.list.d/azure-cli.list.save
|
|
|
|
invoke_tests "CLI.Tools" "Azure CLI"
|