Allow downgrade of azure cli package

This commit is contained in:
Malte Poll 2022-07-07 14:56:01 +02:00
parent 7411d04bcf
commit c4646191e2
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ jobs:
- name: "Install azure CLI" - name: "Install azure CLI"
run: | run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo apt-get install -y "azure-cli=${AZ_CLI_VERSION}-1~$(lsb_release -sc)" sudo apt-get install -y --allow-downgrades "azure-cli=${AZ_CLI_VERSION}-1~$(lsb_release -sc)"
wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz
tar --strip-components 1 -xf azcopy.tar.gz tar --strip-components 1 -xf azcopy.tar.gz
rm azcopy.tar.gz rm azcopy.tar.gz

View File

@ -64,7 +64,7 @@ jobs:
- name: "Install azure CLI" - name: "Install azure CLI"
run: | run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo apt-get install -y "azure-cli=${AZ_CLI_VERSION}-1~$(lsb_release -sc)" sudo apt-get install -y --allow-downgrades "azure-cli=${AZ_CLI_VERSION}-1~$(lsb_release -sc)"
wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz
tar --strip-components 1 -xf azcopy.tar.gz tar --strip-components 1 -xf azcopy.tar.gz
rm azcopy.tar.gz rm azcopy.tar.gz