mirror of
https://githubfast.com/appleboy/ssh-action
synced 2024-10-31 15:46:30 +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