You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See error :
"The workflow is not valid. .github/workflows/my_workflow_file.yml (Line: a, Col: b): Unexpected symbol: '$my_variable'. Located at position... "
Expected behavior
String with substituted value should be printed .
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [Windows]
Browser [Microsoft Edge]
Version [131]
The text was updated successfully, but these errors were encountered:
Describe the bug
Accessing variable in format() method gives an error.
To Reproduce
Steps to reproduce the behavior:
Write a similar step in GitHub Action job:
run: |
my_variable ='blabla'
echo ${{ format('startOfString{0}', $my_variable ) }}
shell: bash
Run corresponding GitHub Action
See error :
"The workflow is not valid. .github/workflows/my_workflow_file.yml (Line: a, Col: b): Unexpected symbol: '$my_variable'. Located at position... "
Expected behavior
String with substituted value should be printed .
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: