Skip to content

Commit

Permalink
retry cli install
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpfalz committed Oct 17, 2023
1 parent b01ae71 commit c891923
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/SQL-MI-CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,7 @@ jobs:
steps:
- name: Install Azure CLI
run: |
sudo apt-get update
sudo apt-get install ca-certificates curl apt-transport-https lsb-release gnupg
sudo mkdir -p /etc/apt/keyrings
curl -sLS https://packages.microsoft.com/keys/microsoft.asc |
gpg --dearmor |
sudo tee /etc/apt/keyrings/microsoft.gpg > /dev/null
sudo chmod go+r /etc/apt/keyrings/microsoft.gpg
AZ_REPO=$(lsb_release -cs)
echo "deb [arch=`dpkg --print-architecture` signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" |
sudo tee /etc/apt/sources.list.d/azure-cli.list
sudo apt-get update
sudo apt-get install azure-cli
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
- name: "Login via Azure CLI"
uses: azure/login@v1
Expand Down

0 comments on commit c891923

Please sign in to comment.