Skip to content

test

test #15

Workflow file for this run

name: Run Azure Login
on:
push:
branches:
- test
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
demo:
runs-on: ubuntu-latest
environment: Azure
steps:
- name: "Azure PowerShell login"
uses: azure/[email protected]
with:
client-id: ${{ secrets.CLIENT_ID }}
tenant-id: ${{ secrets.TENANT_ID }}
subscription-id: ${{ secrets.SUBSCRIPTION_ID }}
enable-AzPSSession: true
- name: "Get resource groups"
uses: azure/powershell@v1
with:
inlineScript: |
Get-AzResourceGroup
azPSVersion: "latest"