Unable to read variable set by set-env in github action #26093
-
GitHub
gautamkrishnar/blog-post-workflowShow your latest blog posts from any sources or StackOverflow activity on your GitHub profile/project readme automatically using the RSS feed - gautamkrishnar/blog-post-workflow Yaml:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I had to use this to fix the eror:
|
Beta Was this translation helpful? Give feedback.
-
gautamkrishnar:
You need to reference the
|
Beta Was this translation helpful? Give feedback.
-
Hi @gautamkrishnar, After you use
Hence, you can use ${{ env.pkg_version }} to invoke it. Thanks |
Beta Was this translation helpful? Give feedback.
-
Thanks, it is now solved. |
Beta Was this translation helpful? Give feedback.
You need to reference the
env
context to read environment variables outside the shell: