1
0
mirror of https://githubfast.com/appleboy/ssh-action synced 2024-10-31 15:46:30 +00:00

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 $*" sh -c "/bin/drone-ssh $*"
} | tee /tmp/outFile } | tee /tmp/outFile
stdout=$(cat /tmp/outFile) echo "stdout<<EOF" >> $GITHUB_OUTPUT
echo "stdout=${stdout//$'\n'/\\n}" >> $GITHUB_OUTPUT cat /tmp/outFile >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT