mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
16 lines
673 B
Bash
16 lines
673 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: install-azure-cli.sh
|
|
## Desc: Install Azure CLI (az)
|
|
################################################################################
|
|
|
|
# Install Azure CLI (instructions taken from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
|
|
curl -fsSL 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"
|