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

fix: allow TimeoutMinutes to be expression (#1217)

This commit is contained in:
R 2022-06-16 22:57:19 +02:00 committed by GitHub
parent bfa5723fda
commit e35ab25fed

View file

@ -321,7 +321,7 @@ type Step struct {
Env yaml.Node `yaml:"env"`
With map[string]string `yaml:"with"`
ContinueOnError bool `yaml:"continue-on-error"`
TimeoutMinutes int64 `yaml:"timeout-minutes"`
TimeoutMinutes string `yaml:"timeout-minutes"`
}
// String gets the name of step