1
0
mirror of https://gitea.com/gitea/act_runner synced 2026-05-06 01:37:57 +02:00

refactor(task): execute single task with gRPC data

This commit is contained in:
Bo-Yi.Wu
2022-09-04 15:44:29 +08:00
committed by Jason Song
parent 5051e4aebd
commit 20c3d85ba9
3 changed files with 18 additions and 22 deletions

View File

@@ -76,7 +76,7 @@ func runRoot(ctx context.Context, task *runtime.Task) func(cmd *cobra.Command, a
}
task.BuildID, _ = strconv.ParseInt(jobID, 10, 64)
task.Run(ctx)
task.Run(ctx, nil)
return nil
}
}