1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

fix: ::stop-commands:: should continue to print the lines (#920)

> This special command allows you to log anything without accidentally running a workflow command.
https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands

Example: 4469496818 (step):8:10
This commit is contained in:
Björn Brauer 2021-12-09 16:10:56 +01:00 committed by GitHub
parent 1ec96731a8
commit 7108d50451
2 changed files with 11 additions and 1 deletions

View file

@ -36,6 +36,7 @@ func (rc *RunContext) commandHandler(ctx context.Context) common.LineHandler {
}
if resumeCommand != "" && command != resumeCommand {
logger.Infof(" \U00002699 %s", line)
return false
}
arg = unescapeCommandData(arg)