From 9c1f040d3d1bfde003cbad4006f1a556b6ab3917 Mon Sep 17 00:00:00 2001 From: Bat Battur <58952979+batbattur@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:43:52 -0700 Subject: [PATCH] Add RUNNER_ENVIRONMENT to default env variables docs Adds the `RUNNER_ENVIRONMENT` variable (same as runner.environment context) to the `Default environment variables` section. --- content/actions/learn-github-actions/variables.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/actions/learn-github-actions/variables.md b/content/actions/learn-github-actions/variables.md index 42cc689d1306..b50711b3aa06 100644 --- a/content/actions/learn-github-actions/variables.md +++ b/content/actions/learn-github-actions/variables.md @@ -322,6 +322,7 @@ We strongly recommend that actions use variables to access the filesystem rather | `RUNNER_ARCH` | {% data reusables.actions.runner-arch-description %} | {%- endif %} | `RUNNER_DEBUG` | {% data reusables.actions.runner-debug-description %} | +| `RUNNER_ENVIRONMENT` | {% data reusables.actions.runner-environment-description %} | | `RUNNER_NAME` | {% data reusables.actions.runner-name-description %} For example, `Hosted Agent` | | `RUNNER_OS` | {% data reusables.actions.runner-os-description %} For example, `Windows` | | `RUNNER_TEMP` | {% data reusables.actions.runner-temp-directory-description %} For example, `D:\a\_temp` |