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

successfully able to run simple workflows

Signed-off-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Casey Lee 2020-02-06 22:17:58 -08:00
parent fbab49c68d
commit 33f8290eb3
21 changed files with 951 additions and 468 deletions

View file

@ -1,7 +1,6 @@
package cmd
import (
"fmt"
"os"
"github.com/nektos/act/pkg/common"
@ -21,7 +20,7 @@ func drawGraph(plan *model.Plan) error {
ids := make([]string, 0)
for _, r := range stage.Runs {
ids = append(ids, fmt.Sprintf("%s/%s", r.Workflow.Name, r.JobID))
ids = append(ids, r.String())
}
drawings = append(drawings, jobPen.DrawBoxes(ids...))
}