Skip to content

Commit eccfc28

Browse files
Fix multiline display
1 parent fc4d63c commit eccfc28

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ runs:
6868
id: changelog
6969
uses: mindsers/changelog-reader-action@v2
7070
71+
# Use env indirection to support multi-lines variable
7172
- if: steps.compare-version.outputs.should-release == 'true'
7273
run: |
73-
echo release-body=${{ steps.changelog.outputs.changes }}
74+
echo "release-body=$RELEASE_BODY"
75+
env:
76+
RELEASE_BODY: ${{ steps.changelog.outputs.changes }}
7477
shell: bash
7578

7679
- if: |

0 commit comments

Comments
 (0)