Skip to content

Escaping ${{ }} in workflows #26621

Answered by Simran-B
Saviq asked this question in Actions
Apr 1, 2021 · 3 comments · 5 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: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@jhm-ciberman
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

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

@divyegala
Comment options

@Simran-B
Comment options

@divyegala
Comment options

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
5 participants