mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
notes on todo tasks for refactoring to support different types of steps
This commit is contained in:
@@ -376,6 +376,7 @@ namespace GitHub.Runner.Worker
|
||||
{
|
||||
var steps = run.Value.AssertSequence("steps");
|
||||
var evaluator = executionContext.ToPipelineTemplateEvaluator();
|
||||
// TODO: Change this so that we process each type of step
|
||||
stepsLoaded = evaluator.LoadCompositeSteps(steps);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -47,6 +47,10 @@ namespace GitHub.Runner.Worker.Handlers
|
||||
|
||||
// Add each composite action step to the front of the queue
|
||||
int location = 0;
|
||||
|
||||
// TODO: Assume that each step is not an actionStep
|
||||
// How do we handle all types of steps?????
|
||||
|
||||
foreach (Pipelines.ActionStep aStep in actionSteps)
|
||||
{
|
||||
// Ex:
|
||||
|
||||
@@ -159,6 +159,7 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
|
||||
return result;
|
||||
}
|
||||
|
||||
// Change to return a variety of steps.
|
||||
public List<ActionStep> LoadCompositeSteps(
|
||||
TemplateToken token)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user