1
1
Fork 0
mirror of https://github.com/appleboy/ssh-action.git synced 2025-03-28 14:46:19 +01:00
This commit is contained in:
GammaGames 2024-11-25 12:03:35 -07:00
parent 4188bdc3ce
commit 058ddd1a69

View file

@ -72,6 +72,8 @@ if [[ "$INPUT_CAPTURE_STDOUT" == 'true' ]]; then
echo 'stdout<<EOF' >> $GITHUB_OUTPUT # use a heredoc for multiline output
sh -c "${TARGET} $*" >> $GITHUB_OUTPUT # run the command
echo 'EOF' >> $GITHUB_OUTPUT
echo 'stdout=foobar' >> $GITHUB_OUTPUT
else
sh -c "${TARGET} $*" # run the command
fi