Skip to content

Escaping ${{ }} in workflows #26621

Answered by Simran-B
Saviq asked this question in Actions
Apr 1, 2021 · 4 comments · 8 replies
Discussion options

You must be logged in to vote

There might be tricks to avoid having the dollar sign next to the braces, but depending on the concrete situation it may or may not be possible to let it evaluate to ${{VAR}} in the end.

The only generic solution I can think of is to use an expression that returns it as a string:

${{ '${{VAR}}' }}

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@jhm-ciberman
Comment options

@Pr0methean
Comment options

@Simran-B
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@Simran-B
Comment options

@divyegala
Comment options

@Simran-B
Comment options

@divyegala
Comment options

@tomhaynes
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
8 participants