Skip to content

Commit 875558d

Browse files
🩹 [Patch]: Add ShowOutput parameter to action and update summary retrieval in workflow
1 parent b857b0a commit 875558d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎.github/workflows/Action-Test.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
Debug: true
6969
Verbose: true
7070
Prerelease: true
71+
ShowOutput: true
7172
Script: |
7273
$cat = Get-GitHubOctocat
7374
$zen = Get-GitHubZen
@@ -79,9 +80,10 @@ jobs:
7980
shell: pwsh
8081
env:
8182
result: ${{ steps.test.outputs.result }}
83+
WISECAT: ${{ fromJson(steps.test.outputs.result).WISECAT }}
8284
run: |
8385
$result = $env:result | ConvertFrom-Json
84-
Set-GitHubStepSummary -Summary $result.WISECAT
86+
Set-GitHubStepSummary -Summary $env:WISECAT
8587
Write-GitHubNotice -Message $result.Zen -Title 'GitHub Zen'
8688
8789
ActionTestWithoutToken:

0 commit comments

Comments
 (0)