From 1e38a8b085ca8e01460d0e26d7b5bec2d6e145f1 Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Fri, 17 Mar 2023 23:01:31 +0800 Subject: [PATCH] make sure special logs be sent to gitea's server (#25) example: https://gitea.com/a1012112796/test_action/actions/runs/7 ![image](/attachments/a8931f2f-096f-41fd-8f9f-0c8322ee985a) TODO: special handle them on ui Signed-off-by: a1012112796 <1012112796@qq.com> Reviewed-on: https://gitea.com/gitea/act/pulls/25 Reviewed-by: Jason Song Reviewed-by: Lunny Xiao Co-authored-by: a1012112796 <1012112796@qq.com> Co-committed-by: a1012112796 <1012112796@qq.com> --- act/runner/command.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/act/runner/command.go b/act/runner/command.go index f14eb7aa..9fafcdf3 100644 --- a/act/runner/command.go +++ b/act/runner/command.go @@ -77,7 +77,8 @@ func (rc *RunContext) commandHandler(ctx context.Context) common.LineHandler { logger.Infof(" \U00002753 %s", line) } - return false + // return true to let gitea's logger handle these special outputs also + return true } }