1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Add runner environment description in runner context (#32785)

Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
This commit is contained in:
Soundarya Koutharapu
2024-05-07 00:42:56 +05:30
committed by GitHub
parent 13df1e9f29
commit b047e935b5
2 changed files with 2 additions and 0 deletions

View File

@@ -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.

View 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.