File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,7 @@ Write-Output 'Installed modules:'
4848Get-InstalledPSResource | Select-Object Name, Version, Prerelease | Format-Table - AutoSize
4949
5050Write-Output ' GitHub module configuration:'
51- Get-GitHubConfig | Select-Object Name, ID, RunEnv | Format-Table - AutoSize
52-
53- ' ::endgroup::'
51+ Get-GitHubConfig | Format-List
5452
5553$providedToken = -not [string ]::IsNullOrEmpty($env: GITHUB_ACTION_INPUT_Token )
5654$providedClientID = -not [string ]::IsNullOrEmpty($env: GITHUB_ACTION_INPUT_ClientID )
@@ -59,15 +57,17 @@ Write-Verbose 'Provided authentication info:'
5957Write-Verbose " Token: [$providedToken ]"
6058Write-Verbose " ClientID: [$providedClientID ]"
6159Write-Verbose " PrivateKey: [$providedPrivateKey ]"
60+ ' ::endgroup::'
61+
6262
6363if ($providedClientID -and $providedPrivateKey ) {
6464 LogGroup ' Connecting using provided GitHub App' {
6565 Connect-GitHub - ClientID $env: GITHUB_ACTION_INPUT_ClientID - PrivateKey $env: GITHUB_ACTION_INPUT_PrivateKey - Silent
66- Get-GitHubContext | Format-Table - AutoSize
66+ Get-GitHubContext | Format-List
6767 }
6868} elseif ($providedToken ) {
6969 LogGroup ' Connecting using provided token' {
7070 Connect-GitHub - Token $env: GITHUB_ACTION_INPUT_Token - Silent
71- Get-GitHubContext | Format-Table - AutoSize
71+ Get-GitHubContext | Format-List
7272 }
7373}
You can’t perform that action at this time.
0 commit comments