1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-20 19:06:59 +00:00

Provide hint for -P (#815)

This commit is contained in:
Josh Soref 2021-09-13 19:14:41 -04:00 committed by GitHub
parent 0e52836daf
commit 232423446a

View file

@ -352,7 +352,7 @@ func (rc *RunContext) isEnabled(ctx context.Context) bool {
for _, runnerLabel := range job.RunsOn() {
platformName := rc.ExprEval.Interpolate(runnerLabel)
l.Infof("\U0001F6A7 Skipping unsupported platform '%+v'", platformName)
l.Infof("\U0001F6A7 Skipping unsupported platform -- Try running with `-P %+v=...`", platformName)
}
return false
}