diff --git a/src/Runner.Worker/Handlers/CompositeActionHandler.cs b/src/Runner.Worker/Handlers/CompositeActionHandler.cs index 97ff85982..0bdda842c 100644 --- a/src/Runner.Worker/Handlers/CompositeActionHandler.cs +++ b/src/Runner.Worker/Handlers/CompositeActionHandler.cs @@ -71,6 +71,10 @@ namespace GitHub.Runner.Worker.Handlers compositeGitHubContext[pair.Key] = pair.Value; } + // Download all data + var actionManager = HostContext.GetService(); + await actionManager.PrepareActionsAsync(ExecutionContext, actionSteps); + foreach (Pipelines.ActionStep actionStep in actionSteps) { var actionRunner = HostContext.CreateService(); @@ -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) {