Skip to content

Commit

Permalink
tee
Browse files Browse the repository at this point in the history
  • Loading branch information
GammaGames committed Nov 25, 2024
1 parent e59e1d9 commit c1dc5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ sh -c "${TARGET} --version" # print version
echo "==========================="
if [[ "$INPUT_CAPTURE_STDOUT" == 'true' ]]; then
echo 'stdout<<EOF' >> $GITHUB_OUTPUT # use heredoc for multiline output
sh -c "${TARGET} $*" >> $GITHUB_OUTPUT # run the command
sh -c "${TARGET} $*" | tee -a $GITHUB_OUTPUT # run the command
echo 'EOF' >> $GITHUB_OUTPUT
else
sh -c "${TARGET} $*" # run the command
Expand Down

0 comments on commit c1dc5db

Please sign in to comment.