I came across an issue while attempting to use the orb firstname.lastname@example.org(https://circleci.com/orbs/registry/orb/iynere/compare-url) that I was curious about the right way to fix.
The orb uses a parameter
circle-token of type
env_var_name. This prohibits it from being cast as a string, meaning you can’t set it to
$CIRCLE_TOKEN and instead should set it to
CIRCLE_TOKEN. But the problem here is that when its referenced from inside a command (like here) it replaces it as if it’s a string (
CIRCLE_TOKEN instead of
Is this the expected behavior? I would assume that since it’s the env_var_name type, we could assume it is output as a reference to an ENV variable. Obviously a solution is to just put “$” in front of the
<<parameters.circle-token>>, but what is the point of that specific type in that case? Thanks!