Skip to content

Commit e3045c8

Browse files
committed
Use heredoc to safely dump markdown
1 parent c6f4719 commit e3045c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: release
2+
run-name: Release of ${{ inputs.version }}
23

34
on:
45
workflow_dispatch:
@@ -51,7 +52,9 @@ jobs:
5152

5253
- name: Write output to file
5354
run: |
54-
printf '${{ steps.extract-changelog.outputs.markdown }}' > __CHANGELOG-extracted.md
55+
cat <<'__EOF__' > __CHANGELOG-extracted.md
56+
${{ steps.extract-changelog.outputs.markdown }}
57+
__EOF__
5558
5659
- uses: ncipollo/release-action@v1
5760
with:

0 commit comments

Comments
 (0)