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
No matter which way I try I don't seem to be able to get the branch name from the default env var $GITHuB_REF to be read properly by the input variable.
The format I need to pass in is refs/head/branch-name
My Github Action as of my latest try is laid out as:
I setup cat to check the json file which produces the following results:
The above code results in: {"DEV":"name","BRANCH":"$GITHUB_REF","QUEUE":"plan"}
What I've tried otherwise is referencing the default env var directly: branch: $GITHUB_REF results in nothing being passed eg branch: {"DEV":"name","BRANCH":"","QUEUE":"plan"}
I am additionally echoing the variable so check the variable string and this returns the branch name as expected. Any idea as to why the create-env-json action cannot read the variables?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi,
No matter which way I try I don't seem to be able to get the branch name from the default env var $GITHuB_REF to be read properly by the input variable.
The format I need to pass in is
refs/head/branch-name
My Github Action as of my latest try is laid out as:
I setup cat to check the json file which produces the following results:
The above code results in: {"DEV":"name","BRANCH":"$GITHUB_REF","QUEUE":"plan"}
What I've tried otherwise is referencing the default env var directly:
branch: $GITHUB_REF
results in nothing being passed eg branch:{"DEV":"name","BRANCH":"","QUEUE":"plan"}
I am additionally echoing the variable so check the variable string and this returns the branch name as expected. Any idea as to why the create-env-json action cannot read the variables?
Thanks,
The text was updated successfully, but these errors were encountered: