Closed aunsbjerg closed 9 months ago
I suspect you can achieve this already using the following YAML syntax:
archives: >-
icu
qtbase
qtconnectivity
Which is exactly equivalent to:
archives: icu qtbase qtconnectivity
This should work because:
>
on the archives: >-
line, enables YAML's "folded" block style, so the new-lines are replaced with spaces; and-
at the end of the archives: >-
line, enables YAML's "strip" block chomping, which means that the final new-line character is removed too.So both versions above should result in the same string value: icu qtbase qtconnectivity
.
You can have a play with the interactive demo at yaml-multiline.info to see how these multi-line YAML options work.
Cheers.
In my pipeline, I have this step:
It would be lovely if the archives list could be split into multiple lines instead of having to use a single line, e.g.
This would improving the diff'ng experience.