We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 482825d commit 2c1c462Copy full SHA for 2c1c462
.github/workflows/testAction.yml
@@ -0,0 +1,21 @@
1
+name: Run Azure Login with OIDC
2
+on: workflow_dispatch
3
+permissions:
4
+ id-token: write
5
+ contents: read
6
+jobs:
7
+ build-and-deploy:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Azure login
11
+ uses: azure/login@v2
12
+ with:
13
+ client-id: ${{ secrets.AZURE_CLIENT_ID }}
14
+ tenant-id: ${{ secrets.AZURE_TENANT_ID }}
15
+ subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
16
+ - name: Azure CLI script
17
+ uses: azure/cli@v2
18
19
+ azcliversion: latest
20
+ inlineScript: |
21
+ az account show
0 commit comments