File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,13 @@ jobs:
8989 shell : pwsh
9090 run : |
9191 if (Test-Path CHANGELOG.md) {
92- $body = Get-Content -Raw -Path "CHANGELOG.md"
93- # Use a here-doc style write to GITHUB_OUTPUT to set a multiline output reliably
94- Write-Output "body<<'EOF'" >> $env:GITHUB_OUTPUT
95- Write-Output $body >> $env:GITHUB_OUTPUT
96- Write-Output "EOF" >> $env:GITHUB_OUTPUT
92+ $body = Get-Content -Raw -Path "CHANGELOG.md"
93+ # Proper way to write multiline output
94+ Add-Content -Path $env:GITHUB_OUTPUT -Value "body<<EOH"
95+ Add-Content -Path $env:GITHUB_OUTPUT -Value $body
96+ Add-Content -Path $env:GITHUB_OUTPUT -Value "EOH"
9797 } else {
98- Write-Output "body=feat: dynamic icon switching based on application theme" >> $env:GITHUB_OUTPUT
98+ Write-Output "body=feat: dynamic icon switching based on application theme" >> $env:GITHUB_OUTPUT
9999 }
100100
101101 - name : Publish GitHub Release
You can’t perform that action at this time.
0 commit comments