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: https://github.com/ZauberNerd/act-test/runs/4469496818?check_suite_focus=true#step:8:10
This commit is contained in:
Björn Brauer
2021-12-09 16:10:56 +01:00
committed by GitHub
parent 1891c72ab1
commit fec0c0c529
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)