mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-05-11 06:12:48 +08:00
test
This commit is contained in:
parent
4188bdc3ce
commit
058ddd1a69
@ -72,6 +72,8 @@ if [[ "$INPUT_CAPTURE_STDOUT" == 'true' ]]; then
|
|||||||
echo 'stdout<<EOF' >> $GITHUB_OUTPUT # use a heredoc for multiline output
|
echo 'stdout<<EOF' >> $GITHUB_OUTPUT # use a heredoc for multiline output
|
||||||
sh -c "${TARGET} $*" >> $GITHUB_OUTPUT # run the command
|
sh -c "${TARGET} $*" >> $GITHUB_OUTPUT # run the command
|
||||||
echo 'EOF' >> $GITHUB_OUTPUT
|
echo 'EOF' >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
echo 'stdout=foobar' >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
sh -c "${TARGET} $*" # run the command
|
sh -c "${TARGET} $*" # run the command
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user