Skip to content

Commit

Permalink
Literal newline
Browse files Browse the repository at this point in the history
Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Dec 20, 2024
1 parent c9f3e93 commit 4478733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/notify-irc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
- name: Encode Message as JSON
id: encode-message
run: |
MULTILINE_MESSAGE="Testing line one\nTest line two"
MULTILINE_MESSAGE="Testing line one
Test line two"
ENCODED_MESSAGE=$(echo "$MULTILINE_MESSAGE" | jq -R .)
echo "message=$ENCODED_MESSAGE" >> $GITHUB_OUTPUT

Expand Down

0 comments on commit 4478733

Please sign in to comment.