Install azure CLI from apt repo (bug was fixed)

This commit is contained in:
Malte Poll 2022-07-07 11:37:40 +02:00
parent c279bb7a38
commit adcd00c8e2
2 changed files with 2 additions and 12 deletions

View File

@ -37,12 +37,7 @@ jobs:
- name: "Install azure CLI"
run: |
# use pip since azure cli repository is not working as expected
# https://github.com/Azure/azure-cli/issues/21532
# curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo apt-get update
sudo apt-get install -y python3 python3-pip
sudo pip install azure-cli
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz
tar --strip-components 1 -xf azcopy.tar.gz
rm azcopy.tar.gz

View File

@ -62,12 +62,7 @@ jobs:
- name: "Install azure CLI"
run: |
# use pip since azure cli repository is not working as expected
# https://github.com/Azure/azure-cli/issues/21532
# curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo apt-get update
sudo apt-get install -y python3 python3-pip
sudo pip install azure-cli
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz
tar --strip-components 1 -xf azcopy.tar.gz
rm azcopy.tar.gz