From c60de30c4677d9c436044a4e47ab144327d42ae5 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 31 Jul 2020 10:19:36 +0900 Subject: [PATCH] Update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f6d25b..ac5de7f 100644 --- a/README.md +++ b/README.md @@ -119,9 +119,9 @@ This example shows how file content can be read into a variable and passed to th The content must be [escaped to preserve newlines](https://github.community/t/set-output-truncates-multiline-strings/16852/3). ```yml - - id: get-issue-body + - id: get-comment-body run: | - body=$(cat my-issue-body.txt) + body=$(cat comment-body.txt) body="${body//'%'/'%25'}" body="${body//$'\n'/'%0A'}" body="${body//$'\r'/'%0D'}"