Skip to content

Commit 0561ce8

Browse files
authored
No --subscription
1 parent a2e55e6 commit 0561ce8

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,17 @@ runs:
7878

7979
- name: Azure login
8080
run: |
81+
# az login \
82+
# --client-id ${{ inputs.azure-client-id }} \
83+
# --federated-token ${{ github.token }} \
84+
# --identity \
85+
# --subscription ${{ inputs.azure-subscription-id }} \
86+
# --tenant ${{ inputs.azure-tenant-id }}
87+
8188
az login \
89+
--allow-no-subscription \
8290
--client-id ${{ inputs.azure-client-id }} \
8391
--federated-token ${{ github.token }} \
84-
--identity \
85-
--subscription ${{ inputs.azure-subscription-id }} \
8692
--tenant ${{ inputs.azure-tenant-id }}
8793
shell: bash
8894

@@ -403,3 +409,8 @@ runs:
403409
# gh release edit ${{ needs.create-release.outputs.release-tag }} \
404410
# --draft=false \
405411
# --repo ${{ github.repository }}
412+
413+
- if: ${{ always() }}
414+
name: Azure logout
415+
run: az logout
416+
shell: bash

0 commit comments

Comments
 (0)