Hi Team,
Github workflow stopped running if enable-AzPSSession: true. I use the following azure login action:
- name: Azure login
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
environment: 'AzureChinaCloud'
enable-AzPSSession: true
Note that we have the self-hosted runner to perform the workflow, and pwsh is 7.4.