Skip to content

Commit

Permalink
Update method for upgrading Azure CLI (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
SenthuranSivananthan authored Jan 5, 2022
1 parent 8b237e9 commit be799aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/consistency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Validate Bicep Templates using latest version of Bicep
shell: bash
run: |
az upgrade --all --yes
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
az bicep upgrade
az version
az bicep version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Validate Bicep Templates
shell: bash
run: |
az upgrade --all --yes
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
az bicep upgrade
az version
az bicep version
Expand Down

1 comment on commit be799aa

@skeeler
Copy link
Contributor

@skeeler skeeler commented on be799aa Jan 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SenthuranSivananthan, I took a look at the bash script at aka.ms/InstallAzureCLIDeb, and it looks like the invocation should read as follows, otherwise it will issue an interactive prompt with no user present:

curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash -y

Note the "-y" parameter included to prevent confirmation prompt. If the code change works as implemented feel free to ignore this comment.

Please sign in to comment.