mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-06-12 17:47:14 +02:00
feat: task can report step and final result
This commit is contained in:
@ -93,5 +93,12 @@ func (p *Poller) poll(ctx context.Context, thread int) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// FIXME: for testing task
|
||||
// stage.Id = 111
|
||||
// stage.BuildId = 1222
|
||||
|
||||
// set client to context, so that the stage can use it to
|
||||
ctx = client.WithClient(ctx, p.Client)
|
||||
|
||||
return p.Dispatch(ctx, stage)
|
||||
}
|
||||
|
Reference in New Issue
Block a user