Skip to content

Unable to interpolate string - hyphenated variables #104

@mced

Description

@mced

I'm facing an issue when I'm trying to reference a steps.<id>.outputs.<variable> with an id composed with -.

Run echo ${{ steps.login-ecr.outputs.registry }}
ERRO[0005] Unable to interpolate string 'echo ${{ steps.login-ecr.outputs.registry }}' - [ReferenceError: 'ecr' is not defined] 

Workaround; remove all - in id names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/workflowRelating to workflow definitionskind/bugSomething isn't workingmeta/workaroundA workaround has been identified.needs-workExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions