Temp change ci test for a bug in azps (#416)

This commit is contained in:
Shiying Chen
2024-02-20 13:33:37 +08:00
committed by GitHub
parent 3d449ed579
commit dcaef1266d

View File

@@ -219,7 +219,7 @@ jobs:
with:
azPSVersion: "latest"
inlineScript: |
$checkResult = (Get-AzContext -ListAvailable).Count -eq 2
$checkResult = (Get-AzContext).Environment.Name -eq 'AzureCloud'
if(-not $checkResult){
throw "Not all checks passed!"
}