Compare commits

..

1 Commits

Author SHA1 Message Date
Ethan Chiu
abfc04c58a Download action repos into directory 2020-08-11 16:31:15 -04:00

View File

@@ -68,9 +68,13 @@ namespace GitHub.Runner.Worker.Handlers
var compositeGitHubContext = new GitHubContext();
foreach (var pair in githubContext)
{
compositeGitHubContext[pair.Key] = pair.Value.Clone();
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)
{