Skip to content

Commit

Permalink
print content
Browse files Browse the repository at this point in the history
  • Loading branch information
mauromorales committed Oct 5, 2023
1 parent c362a0f commit b1c99e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/image-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
content=`cat .github/flavors.json`
# the following lines are only required for multi line json
# the following lines are only required for multi line json
# content="${content//'%'/'%25'}"
# content="${content//$'\n'/'%0A'}"
# content="${content//$'\r'/'%0D'}"
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
echo $content
# end of optional handling for multi line json
# end of optional handling for multi line json
echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit b1c99e5

Please sign in to comment.