First attempt at creating baseline code for composite actions

This commit is contained in:
Ethan Chiu
2020-06-10 17:50:14 -04:00
parent 5815819f24
commit e2bb8d9e24
7 changed files with 109 additions and 1 deletions

View File

@@ -66,6 +66,13 @@ namespace GitHub.Runner.Worker.Handlers
handler = HostContext.CreateService<IRunnerPluginHandler>();
(handler as IRunnerPluginHandler).Data = data as PluginActionExecutionData;
}
else if (data.ExecutionType == ActionExecutionType.Composite)
{
// Runner plugin
handler = HostContext.CreateService<ICompositeHandler>();
// handler = CompositeHandler;
(handler as ICompositeHandler).Data = data as CompositeActionExecutionData;
}
else
{
// This should never happen.