mirror of
https://github.com/appleboy/ssh-action.git
synced 2026-06-30 09:08:17 +00:00
test multiline
This commit is contained in:
parent
384d12c1a4
commit
164b6acc22
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user