mirror of
https://github.com/actions/runner.git
synced 2025-12-14 04:53:34 +00:00
support 'pre' execution for actions. (#389)
This commit is contained in:
committed by
TingluoHuang
parent
826f58682e
commit
6b3b42a840
@@ -82,9 +82,13 @@ namespace GitHub.Runner.Worker.Handlers
|
||||
container.ContainerEntryPoint = Inputs.GetValueOrDefault("entryPoint");
|
||||
}
|
||||
}
|
||||
else if (stage == ActionRunStage.Pre)
|
||||
{
|
||||
container.ContainerEntryPoint = Data.Pre;
|
||||
}
|
||||
else if (stage == ActionRunStage.Post)
|
||||
{
|
||||
container.ContainerEntryPoint = Data.Cleanup;
|
||||
container.ContainerEntryPoint = Data.Post;
|
||||
}
|
||||
|
||||
// create inputs context for template evaluation
|
||||
|
||||
Reference in New Issue
Block a user