Skip to content

Commit 4873de6

Browse files
committed
refactor: simplify stdout capturing by removing legacy logic
- Remove conditional logic and output redirection for capturing stdout; only a blank line remains at the end Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent 2c87d5b commit 4873de6

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

entrypoint.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,4 @@ if ! "${TARGET}" --version; then
7070
log_error "Failed to execute ${TARGET} --version. The binary may be corrupted." "${ERR_VERSION_CHECK_FAILED}"
7171
fi
7272
echo "======================================="
73-
if [[ "${INPUT_CAPTURE_STDOUT}" == 'true' ]]; then
74-
{
75-
echo 'stdout<<EOF'
76-
"${TARGET}" "$@" | tee -a "${GITHUB_OUTPUT}"
77-
echo 'EOF'
78-
} >>"${GITHUB_OUTPUT}"
79-
else
80-
"${TARGET}" "$@"
81-
fi
73+

0 commit comments

Comments
 (0)