When I attempt to escape my yaml which contains a colon like so:
script:
- '${Env:TEMP}/${Env:VAR_VS_VERSION}.exe --layout c:/layout/${Env:VAR_VS_VERSION} --lang en-US --useLatestInstaller --cache --fix --wait --norestart'
I get the following error:
ParserError:
Line |
308 | ${Env:TEMP}/${Env:VAR_VS_VERSION}.exe --layout c:/layout/${Env:VAR_VS .
| ~~~~~~
| Unexpected token 'layout' in expression or statement.
ParserError:
Line |
1 | }
| ~
| Unexpected token '}' in expression or statement.
The CI linter is saying everything is valid and the other questions/answers on Stack Overflow don't seem to help.
- I've tried single and double quotes around my entire command, doesn't work
- I've tried folding style from here, doesn't work
Any suggestions?