Skip to content

Commit 659aa16

Browse files
Refactor Action-Test workflow to rename job and streamline output summary handling
1 parent 16330f1 commit 659aa16

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/Action-Test.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,14 @@ jobs:
6363
Set-GitHubEnvironmentVariable -Name 'OCTOCAT' -Value $cat
6464
Set-GitHubOutput -Name 'WISECAT' -Value $cat
6565
Set-GitHubOutput -Name 'Zen' -Value $zen
66-
Set-GitHubStepSummary -Summary $cat
6766
68-
- name: Action-Test-Output
69-
uses: ./
67+
- name: Run-test
68+
shell: pwsh
7069
env:
7170
result: ${{ steps.test.outputs.result }}
72-
with:
73-
Script: |
74-
"result"
75-
$result = $env:result | ConvertFrom-Json
76-
$result.WISECAT
77-
$result.Zen
71+
run: |
72+
$result = $env:result | ConvertFrom-Json
73+
Set-GitHubStepSummary -Summary $result.WISECAT
7874
7975
# ActionTestWithoutToken:
8076
# name: Action-Test - [WithoutToken]

0 commit comments

Comments
 (0)