You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By specifying environment variables on a per-step basis, the maintainability of workflows can be greatly improved. For instance, the following YAML snippet sets the FOO environment variable to "BAR" for task1:
env:
- FOO: "BAR"steps:
- name: task1env:
- FOO: "BAR-TASK1"command: echo $FOO # "BAR-TASK1" will be printed in the log
The text was updated successfully, but these errors were encountered:
By specifying environment variables on a per-step basis, the maintainability of workflows can be greatly improved. For instance, the following YAML snippet sets the FOO environment variable to "BAR" for task1:
The text was updated successfully, but these errors were encountered: