test multiline

This commit is contained in:
Jesse 2024-01-02 21:49:20 +00:00
parent 384d12c1a4
commit 164b6acc22

View File

@ -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