Use env
to define variables for the workflow.
Any env vars set at the workflow level are inherited by all steps in all jobs.
You cannot define variables in the env
map in terms of other map variables.
env
variables with the same name follow specificity precedence. In the following example, the environment variable SERVER: development
defined in a step overrides SERVER: production
defined in the workflow, while the step executes.