This is my first interaction ever with JavaScript so pls bear with me on this.
I want to dynamically create a multiline variable (string). The way it is going to be created based on some conditionals, something like
if (${{ inputs.a_gha_input }}) {
add_this_line_to_a_multiline_js_var("Hello")
}
if (${{ inputs.another_gha_input }}) {
add_this_line_to_a_multiline_js_var("World")
}
I would like my end result to be something like this
Hello
World
(in case both conditions are true of course)
Thanks