mirror of
https://github.com/actions/runner.git
synced 2025-12-10 20:36:49 +00:00
added to lowercase on setting github.action_status (#1944)
This commit is contained in:
@@ -239,7 +239,7 @@ namespace GitHub.Runner.Worker.Handlers
|
|||||||
|
|
||||||
// Set action_status to the success of the current composite action
|
// Set action_status to the success of the current composite action
|
||||||
var actionResult = ExecutionContext.Result?.ToActionResult() ?? ActionResult.Success;
|
var actionResult = ExecutionContext.Result?.ToActionResult() ?? ActionResult.Success;
|
||||||
step.ExecutionContext.SetGitHubContext("action_status", actionResult.ToString());
|
step.ExecutionContext.SetGitHubContext("action_status", actionResult.ToString().ToLowerInvariant());
|
||||||
|
|
||||||
// Initialize env context
|
// Initialize env context
|
||||||
Trace.Info("Initialize Env context for embedded step");
|
Trace.Info("Initialize Env context for embedded step");
|
||||||
|
|||||||
Reference in New Issue
Block a user