Skip to content

Commit ca282e2

Browse files
authored
Use --username
1 parent 4ed23ea commit ca282e2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/actions/azdo-build/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ runs:
8787
8888
az login \
8989
--allow-no-subscription \
90-
--client-id ${{ inputs.azure-client-id }} \
9190
--federated-token ${{ github.token }} \
9291
--service-principal \
93-
--tenant ${{ inputs.azure-tenant-id }}
92+
--tenant ${{ inputs.azure-tenant-id }} \
93+
--username ${{ inputs.azure-client-id }}
9494
shell: bash
9595

9696
# - uses: azure/login@v2
@@ -411,7 +411,8 @@ runs:
411411
# --draft=false \
412412
# --repo ${{ github.repository }}
413413

414-
- if: ${{ always() }}
414+
- continue-on-error: true
415+
if: ${{ always() }}
415416
name: Azure logout
416417
run: az logout
417418
shell: bash

0 commit comments

Comments
 (0)