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

matrix is done

Signed-off-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Casey Lee 2020-02-17 10:11:16 -08:00
parent 12ac03a755
commit 33f5b5416c
8 changed files with 219 additions and 46 deletions

View file

@ -187,6 +187,9 @@ func ReadWorkflow(in io.Reader) (*Workflow, error) {
func (w *Workflow) GetJob(jobID string) *Job {
for id, j := range w.Jobs {
if jobID == id {
if j.Name == "" {
j.Name = id
}
return j
}
}