1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Complete list of GITHUB_ vars that are exceptionally not _PATH suffixed. (#32407)

Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
This commit is contained in:
Róbert Papp
2024-04-08 23:04:45 +01:00
committed by GitHub
parent 0951bf23f9
commit aed803ac39

View File

@@ -75,8 +75,6 @@ Because runner environment variable interpolation is done after a workflow job i
When you set an environment variable, you cannot use any of the default environment variable names. For a complete list of default environment variables, see "[Default environment variables](#default-environment-variables)" below. If you attempt to override the value of one of these default variables, the assignment is ignored.
Any new variables you set that point to a location on the filesystem should have a `_PATH` suffix. The `GITHUB_ENV` and `GITHUB_WORKSPACE` default variables are exceptions to this convention.
{% note %}
**Note**: You can list the entire set of environment variables that are available to a workflow step by using <span style="white-space: nowrap;">`run: env`</span> in a step and then examining the output for the step.