Skip to content

Commit

Permalink
test multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
GammaGames committed Jan 2, 2024
1 parent 384d12c commit 164b6ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export GITHUB="true"
sh -c "/bin/drone-ssh $*"
} | tee /tmp/outFile

stdout=$(cat /tmp/outFile)
echo "stdout=${stdout//$'\n'/\\n}" >> $GITHUB_OUTPUT
echo "stdout<<EOF" >> $GITHUB_OUTPUT
cat /tmp/outFile >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

0 comments on commit 164b6ac

Please sign in to comment.