From 556fd20aed3c3ac4238f3e499d500e00b5ba966d 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> --- pkg/runner/command.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/runner/command.go b/pkg/runner/command.go index f14eb7a..9fafcdf 100644 --- a/pkg/runner/command.go +++ b/pkg/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 } }