Add runner environment description in runner context (#32785)
Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
13df1e9f29
commit
b047e935b5
@@ -577,6 +577,7 @@ The `runner` context contains information about the runner that is executing the
|
||||
| `runner.temp` | `string` | {% data reusables.actions.runner-temp-directory-description %} |
|
||||
| `runner.tool_cache` | `string` | {% data reusables.actions.runner-tool-cache-description %} |
|
||||
| `runner.debug` | `string` | {% data reusables.actions.runner-debug-description %} |
|
||||
| `runner.environment` | `string` | {% data reusables.actions.runner-environment-description %} |
|
||||
|
||||
{%- comment %}
|
||||
The `runner.workspace` property is purposefully not documented. It is an early Actions property that now isn't relevant for users, compared to `github.workspace`. It is kept around for compatibility.
|
||||
|
||||
1
data/reusables/actions/runner-environment-description.md
Normal file
1
data/reusables/actions/runner-environment-description.md
Normal file
@@ -0,0 +1 @@
|
||||
The environment of the runner executing the job. Possible values are: `github-hosted` for GitHub-hosted runners provided by GitHub, and `self-hosted` for self-hosted runners configured by the repository owner.
|
||||
Reference in New Issue
Block a user