mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:21:58 +00:00
Merge branch 'users/ethanchewy/compositetest2' of https://github.com/actions/runner into users/ethanchewy/compositeenv
This commit is contained in:
@@ -397,7 +397,8 @@ namespace GitHub.Runner.Worker
|
||||
}
|
||||
else if (definition.Data.Execution.ExecutionType == ActionExecutionType.Composite && !String.IsNullOrEmpty(Environment.GetEnvironmentVariable("TESTING_COMPOSITE_ACTIONS_ALPHA")))
|
||||
{
|
||||
// Don't do anything for now
|
||||
var compositeAction = definition.Data.Execution as CompositeActionExecutionData;
|
||||
Trace.Info($"Action steps: {compositeAction.Steps}.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -291,8 +291,6 @@ namespace GitHub.Runner.Worker
|
||||
// placed after the queued composite steps
|
||||
// This will take only O(n+m) time which would be just as efficient if we refactored the code of JobSteps to a PriorityQueue
|
||||
// This temp Queue is created in the CompositeActionHandler.
|
||||
|
||||
Trace.Info("Adding Composite Action Step");
|
||||
var newGuid = Guid.NewGuid();
|
||||
step.ExecutionContext = Root.CreateChild(newGuid, step.DisplayName, newGuid.ToString("N"), null, null);
|
||||
step.ExecutionContext.ExpressionValues["inputs"] = inputsData;
|
||||
@@ -319,7 +317,6 @@ namespace GitHub.Runner.Worker
|
||||
Root.JobSteps.Clear();
|
||||
foreach (var cs in steps)
|
||||
{
|
||||
Trace.Info($"EnqueueAllCompositeSteps : Adding Composite action step {cs}");
|
||||
Root.JobSteps.Enqueue(cs);
|
||||
}
|
||||
foreach (var s in temp)
|
||||
@@ -332,7 +329,6 @@ namespace GitHub.Runner.Worker
|
||||
Root.JobSteps = new Queue<IStep>();
|
||||
foreach (var cs in steps)
|
||||
{
|
||||
Trace.Info($"EnqueueAllCompositeSteps : Adding Composite action step {cs}");
|
||||
Root.JobSteps.Enqueue(cs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user