Download action repos into directory

This commit is contained in:
Ethan Chiu
2020-08-11 16:31:15 -04:00
parent 46245a1a71
commit abfc04c58a

View File

@@ -71,6 +71,10 @@ namespace GitHub.Runner.Worker.Handlers
compositeGitHubContext[pair.Key] = pair.Value;
}
// Download all data
var actionManager = HostContext.GetService<IActionManager>();
await actionManager.PrepareActionsAsync(ExecutionContext, actionSteps);
foreach (Pipelines.ActionStep actionStep in actionSteps)
{
var actionRunner = HostContext.CreateService<IActionRunner>();
@@ -158,6 +162,7 @@ namespace GitHub.Runner.Worker.Handlers
{
ArgUtil.NotNull(compositeSteps, nameof(compositeSteps));
// The parent StepsRunner of the whole Composite Action Step handles the cancellation stuff already.
foreach (IStep step in compositeSteps)
{