Skip to content

Commit 6ecfae0

Browse files
committed
Correct appending to GitHub Summary
1 parent e6d621e commit 6ecfae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make-summary.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ if ($ShowGithub) {
103103
if ($env:GITHUB_STEP_SUMMARY) {
104104
Convert-Tests $allTestsParams.params | Set-Content $env:GITHUB_STEP_SUMMARY
105105
if ($testParams.Count -gt 1) {
106-
$testParams | ForEach-Object { Convert-Tests $_.params "- " } | Set-Content $env:GITHUB_STEP_SUMMARY -Append
106+
$testParams | ForEach-Object { Convert-Tests $_.params "- " } | Add-Content $env:GITHUB_STEP_SUMMARY
107107
}
108-
Convert-Coverage $allCoverage | Set-Content $env:GITHUB_STEP_SUMMARY -Append
108+
Convert-Coverage $allCoverage | Add-Content $env:GITHUB_STEP_SUMMARY
109109
}
110110

111111
if ($env:GITHUB_OUTPUT) {

0 commit comments

Comments
 (0)