Skip to content

Commit

Permalink
Replace Out-File with Set-GitHubStepSummary for setting coverage repo…
Browse files Browse the repository at this point in the history
…rt summary
  • Loading branch information
MariusStorhaug committed Dec 1, 2024
1 parent a05cc5a commit a28365e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Set-CoverageReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ $($paths | New-MDTable)
Set-Content -Path 'Coverage.md' -Value $coverageContent
}

$coverageContent | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Encoding utf8
Set-GitHubStepSummary -Summary $coverageContent

git add .
git commit -m 'Auto-generated changes'
Expand Down

0 comments on commit a28365e

Please sign in to comment.