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 @@ -76,12 +76,22 @@ runs:
7676 fi
7777 shell : bash
7878
79- - uses : azure/login@v2
80- with :
81- allow-no-subscriptions : true
82- client-id : ${{ inputs.azure-client-id }}
83- enable-AzPSSession : true
84- tenant-id : ${{ inputs.azure-tenant-id }}
79+ - name : Azure login
80+ 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+ shell : bash
88+
89+ # - uses: azure/login@v2
90+ # with:
91+ # allow-no-subscriptions: true
92+ # client-id: ${{ inputs.azure-client-id }}
93+ # enable-AzPSSession: true
94+ # tenant-id: ${{ inputs.azure-tenant-id }}
8595
8696 # - id: run-pipeline
8797 # uses: azure/cli@v2
You can’t perform that action at this time.
0 commit comments