mirror of
https://github.com/actions/runner.git
synced 2025-12-12 15:13:30 +00:00
Set runner environment in context and env (#2518)
* Set runner environment in runner context and env Extract runner_environment from the global context and expose in the `github.runner` context and env as `RUNNER_ENVIRONMENT`. Signed-off-by: Philip Harrison <philip@mailharrison.com> * encoding. --------- Signed-off-by: Philip Harrison <philip@mailharrison.com> Co-authored-by: Tingluo Huang <tingluohuang@github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace GitHub.DistributedTask.WebApi
|
||||
{
|
||||
@@ -6,5 +6,6 @@ namespace GitHub.DistributedTask.WebApi
|
||||
{
|
||||
public static readonly String JobId = "system.jobId";
|
||||
public static readonly String RunnerLowDiskspaceThreshold = "system.runner.lowdiskspacethreshold";
|
||||
public static readonly String RunnerEnvironment = "system.runnerEnvironment";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user