Skip to content

Commit e9ee8b9

Browse files
🩹 [Patch]: Update check for step summary to improve clarity and logic
1 parent 42f0e9d commit e9ee8b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/Action-Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
$summary = Get-Content $env:GITHUB_STEP_SUMMARY -Raw
5454
Write-Host "Step summary:"
5555
Write-Host "[$summary]"
56-
if ([string]::IsNullOrEmpty($summary)) {
56+
if (-not [string]::IsNullOrEmpty($summary)) {
5757
throw "Step summary is not empty: $summary"
5858
}
5959
Write-Host "Step summary is empty as expected."

0 commit comments

Comments
 (0)