Skip to content

Commit c1d9861

Browse files
committed
Login with azd
1 parent d41ed1a commit c1d9861

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/evaluate.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ jobs:
103103
inlineScript: |
104104
az account set --subscription ${{env.AZURE_SUBSCRIPTION_ID}}
105105
106+
- name: Log in with Azure (Federated Credentials)
107+
if: ${{ env.AZURE_CLIENT_ID != '' }}
108+
run: |
109+
azd auth login `
110+
--client-id "$Env:AZURE_CLIENT_ID" `
111+
--federated-credential-provider "github" `
112+
--tenant-id "$Env:AZURE_TENANT_ID"
113+
shell: pwsh
106114

107115
- name: Run local server in background
108116
run: |

0 commit comments

Comments
 (0)