Skip to content

Commit c1e9d1c

Browse files
committed
fix(ci): escape EOF delimiter in heredoc for GitHub Actions
1 parent 8e85234 commit c1e9d1c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,11 @@ jobs:
171171
in_release && /^##[[:space:]]/ { exit }
172172
in_release { print }
173173
' CHANGELOG.md > release_notes.md
174-
echo "notes<<$EOF" >> $GITHUB_OUTPUT
175-
cat release_notes.md >> $GITHUB_OUTPUT
176-
echo "$EOF" >> $GITHUB_OUTPUT
174+
{
175+
echo "notes<<EOF"
176+
cat release_notes.md
177+
echo "EOF"
178+
} >> "$GITHUB_OUTPUT"
177179
178180
- name: Create GitHub Release
179181
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)