Add comments + fix action_yaml schema

This commit is contained in:
Ethan Chiu
2020-06-11 10:37:29 -04:00
parent 3fed00814d
commit 65287fb0f0
4 changed files with 224 additions and 14 deletions

View File

@@ -449,15 +449,6 @@ namespace GitHub.Runner.Worker
definition.Data.Name = "Run";
definition.Data.Description = "Execute a script";
}
// else if (definition.Data.Execution.ExecutionType == ActionExecutionType.Composite) {
// // var compositeAction = definition.Data.Execution as CompositeActionExecutionData;
// // // add Trace Info here later => maybe we don't need this?
// // Trace.Info($"Action pre composite file: {compositeAction.Pre ?? "N/A"}.");
// // // Trace.Info($"Action composite file: {compositeAction.Script}.");
// // Trace.Info($"Action post composite file: {compositeAction.Post ?? "N/A"}.");
// // We don't have to do anything since definition.Data contains everything we need.
// }
else
{
throw new NotSupportedException(action.Reference.Type.ToString());