Skip to content

Commit 59656ff

Browse files
committed
Remove output log
1 parent 5a419cf commit 59656ff

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Actions/CheckAuthContext/CheckAuthContext.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ foreach ($name in ($secretName -split ',')) {
2424
}
2525

2626
if ($authContext) {
27-
Write-Host "AuthContext provided in secret $foundSecretName!"
28-
Add-Content -Encoding UTF8 -Path $ENV:GITHUB_STEP_SUMMARY -Value "AuthContext was provided in a secret called $foundSecretName. Using this information for authentication."
29-
}
30-
else {
27+
Write-Host "AuthContext provided in secret $foundSecretName! Using this information for authentication."
28+
} else {
3129
Write-Host "No AuthContext provided, initiating Device Code flow"
3230
DownloadAndImportBcContainerHelper
3331
$authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0))

0 commit comments

Comments
 (0)