Github action combining if condition or writing it in Multiple lines #25375
Answered
by
BrightRan
uditgaurav
asked this question in
Actions
-
Hi all, The command is:
Please share if you have any thoughts on this. |
Beta Was this translation helpful? Give feedback.
Answered by
BrightRan
Jun 8, 2020
Replies: 1 comment 1 reply
-
@uditgaurav,
In the workflow YAML file, if you want to set value of an option (such as env.<VAR_NAME>, run, if) as multi-line text, you can generally use the ‘|’ character to declare. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@uditgaurav,
You can write like as the following: