Skip to content

Commit ef18892

Browse files
committed
fix: replace Azure/setup-azd action with direct curl installation
The Azure/setup-azd@v1.0.0 action was failing due to CDN connectivity issues. Replaced with direct installation using curl from aka.ms/install-azd.sh which is more reliable and doesn't depend on azdrelease.azureedge.net CDN. Changes: - Install azd using official installation script - Add azd bin directory to PATH - Apply to all 5 workflow files
1 parent dd3267c commit ef18892

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

.github/workflows/azure-dev.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
uses: actions/checkout@v4
3434

3535
- name: Install azd
36-
uses: Azure/setup-azd@v1.0.0
36+
run: |
37+
curl -fsSL https://aka.ms/install-azd.sh | bash
38+
echo "$HOME/.azd/bin" >> $GITHUB_PATH
3739
3840
- name: Azure Login
3941
uses: azure/login@v2

.github/workflows/infrastructure.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
uses: actions/checkout@v4
3838

3939
- name: Install azd
40-
uses: Azure/setup-azd@v1.0.0
40+
run: |
41+
curl -fsSL https://aka.ms/install-azd.sh | bash
42+
echo "$HOME/.azd/bin" >> $GITHUB_PATH
4143
4244
- name: Azure Login
4345
uses: azure/login@v2

.github/workflows/java-app.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
echo "Maven build and tests passed successfully" >> $GITHUB_STEP_SUMMARY
5555
5656
- name: Install azd
57-
uses: Azure/setup-azd@v1.0.0
57+
run: |
58+
curl -fsSL https://aka.ms/install-azd.sh | bash
59+
echo "$HOME/.azd/bin" >> $GITHUB_PATH
5860
5961
- name: Azure Login
6062
uses: azure/login@v2

.github/workflows/js-app.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ jobs:
5555
echo "Tests passed successfully" >> $GITHUB_STEP_SUMMARY
5656
5757
- name: Install azd
58-
uses: Azure/setup-azd@v1.0.0
58+
run: |
59+
curl -fsSL https://aka.ms/install-azd.sh | bash
60+
echo "$HOME/.azd/bin" >> $GITHUB_PATH
5961
6062
- name: Azure Login
6163
uses: azure/login@v2

.github/workflows/python-app.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
echo "Tests passed successfully" >> $GITHUB_STEP_SUMMARY
5555
5656
- name: Install azd
57-
uses: Azure/setup-azd@v1.0.0
57+
run: |
58+
curl -fsSL https://aka.ms/install-azd.sh | bash
59+
echo "$HOME/.azd/bin" >> $GITHUB_PATH
5860
5961
- name: Azure Login
6062
uses: azure/login@v2

0 commit comments

Comments
 (0)