mirror of
https://github.com/azure/login.git
synced 2026-03-12 18:07:08 -04:00
Temp change ci test for a bug in azps (#416)
This commit is contained in:
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!"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user