Temp change ci test for a bug in azps (#416)
This commit is contained in:
parent
3d449ed579
commit
dcaef1266d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/azure-login-positive.yml
vendored
2
.github/workflows/azure-login-positive.yml
vendored
|
|
@ -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!"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue