Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Evans committed Jul 31, 2020
1 parent 229435c commit c60de30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'}"
Expand Down

0 comments on commit c60de30

Please sign in to comment.