as far as i understand yaml and the CI spec the failing form should be converted by the yaml parser into the working form, or not ? hence, shoudnt the runner should always see the whole thing as 1 line ?
As you posted it, the indentation seems to be different for the first and second line of the command. Yaml can be quite sensitive about that. It is at least worth a shot.
Still strange that it does report a multiline command in that case. In “normal” bash I’d probably start to fiddle with backslashes, but the documentation does not seem to indicate you need that.
seems u are right. in that info page it doest say that but for gitlab block scalars (ie with - |, or - >) indentation must be the same for all (tested and works now) where as for the flow scalars this isnt required (judging from the examples on the info page but havent tested that).