From c1dc5db4d67becf8ab7d97ca2fa9271b5cf23e6c Mon Sep 17 00:00:00 2001 From: GammaGames Date: Mon, 25 Nov 2024 13:08:02 -0700 Subject: [PATCH] tee --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index b2a33d4..1c0edb8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -70,7 +70,7 @@ sh -c "${TARGET} --version" # print version echo "===========================" if [[ "$INPUT_CAPTURE_STDOUT" == 'true' ]]; then echo 'stdout<> $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