File tree Expand file tree Collapse file tree
.github/actions/azdo-build Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments