1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-31 18:30:58 +00:00

Support step number

This commit is contained in:
Jason Song 2022-09-22 21:56:43 +08:00 committed by Jason Song
parent 74b3669738
commit ce157e637c
4 changed files with 9 additions and 5 deletions

View file

@ -396,6 +396,7 @@ type ContainerSpec struct {
// Step is the structure of one step in a job
type Step struct {
Number int `yaml:"-"`
ID string `yaml:"id"`
If yaml.Node `yaml:"if"`
Name string `yaml:"name"`