mirror of
https://github.com/actions/runner.git
synced 2025-12-11 21:06:55 +00:00
Download action repos into directory
This commit is contained in:
@@ -71,6 +71,10 @@ namespace GitHub.Runner.Worker.Handlers
|
|||||||
compositeGitHubContext[pair.Key] = pair.Value;
|
compositeGitHubContext[pair.Key] = pair.Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Download all data
|
||||||
|
var actionManager = HostContext.GetService<IActionManager>();
|
||||||
|
await actionManager.PrepareActionsAsync(ExecutionContext, actionSteps);
|
||||||
|
|
||||||
foreach (Pipelines.ActionStep actionStep in actionSteps)
|
foreach (Pipelines.ActionStep actionStep in actionSteps)
|
||||||
{
|
{
|
||||||
var actionRunner = HostContext.CreateService<IActionRunner>();
|
var actionRunner = HostContext.CreateService<IActionRunner>();
|
||||||
@@ -158,6 +162,7 @@ namespace GitHub.Runner.Worker.Handlers
|
|||||||
{
|
{
|
||||||
ArgUtil.NotNull(compositeSteps, nameof(compositeSteps));
|
ArgUtil.NotNull(compositeSteps, nameof(compositeSteps));
|
||||||
|
|
||||||
|
|
||||||
// The parent StepsRunner of the whole Composite Action Step handles the cancellation stuff already.
|
// The parent StepsRunner of the whole Composite Action Step handles the cancellation stuff already.
|
||||||
foreach (IStep step in compositeSteps)
|
foreach (IStep step in compositeSteps)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user