Skip to content

Commit 55722d4

Browse files
committed
Released V1.1.0
1 parent 67a27fb commit 55722d4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release-package.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)