Skip to content

Commit 6598280

Browse files
Add installation step for Azure Developer CLI in deployment workflow
1 parent 630707d commit 6598280

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/deploy-v2-windows.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,15 @@ jobs:
282282
# Azure CLI is pre-installed on Windows GitHub runners
283283
az --version # Verify installation
284284
285+
- name: Install Azure Developer CLI
286+
shell: powershell
287+
run: |
288+
Write-Host "Installing Azure Developer CLI..."
289+
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
290+
291+
# Verify installation
292+
azd version
293+
285294
- name: Login to Azure
286295
shell: bash
287296
run: |
@@ -815,6 +824,15 @@ jobs:
815824
# Azure CLI is pre-installed on Windows GitHub runners
816825
az --version # Verify installation
817826
827+
- name: Install Azure Developer CLI
828+
shell: powershell
829+
run: |
830+
Write-Host "Installing Azure Developer CLI..."
831+
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
832+
833+
# Verify installation
834+
azd version
835+
818836
- name: Login to Azure
819837
shell: bash
820838
run: |

0 commit comments

Comments
 (0)