forked from actions/runner
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set runner environment in context and env (actions#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>
- Loading branch information
1 parent
8db8bbe
commit 21b49c5
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
using System; | ||
using System; | ||
|
||
namespace GitHub.DistributedTask.WebApi | ||
{ | ||
public static class WellKnownDistributedTaskVariables | ||
{ | ||
public static readonly String JobId = "system.jobId"; | ||
public static readonly String RunnerLowDiskspaceThreshold = "system.runner.lowdiskspacethreshold"; | ||
public static readonly String RunnerEnvironment = "system.runnerEnvironment"; | ||
} | ||
} |