-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Outputting or Exporting Go Environment Variables #54
Comments
Hi @bflad ! Sorry for the late response! |
It definitely helps make workflow definitions platform agnostic. For example, it would allow all three platform specific cache action examples to be replaced with a single more robust example:
This particular use case may not be as relevant if |
Hi @Sergey-Murtazin 👋 Certainly still valid for our use cases, mostly to help with platform agnostic workflows as mentioned above. Thanks! |
I was about to open a similar issue 🙂 I'm interested in A JSON output of |
It'd be helpful to have |
I've opened a #334 with some default outputs that I think will cover 99% of the cases, let me know what you think 🙏 |
Run |
Would love this as well. I currently have extra steps like |
The issue is waiting for the merge of the PR #334 |
Version
Description
In some of our GitHub Actions workflows, we opt to cache the
GOCACHE
between jobs to save compilation time. It seems like we currently need to rungo env GOCACHE
to fetch the correctGOCACHE
path after this action is run, e.g.Since this action already runs
go env
, it would be great if those values were either available as outputs, e.g.Or if we could configure environment variables to automatically be exported:
Thank you for the consideration! Please reach out if I'm missing something and this is already possible or if this would be acceptable as an enhancement.
The text was updated successfully, but these errors were encountered: