-
Notifications
You must be signed in to change notification settings - Fork 28
Support exporting as environment variables #43
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 exporting as environment variables #43
Conversation
ping @falti |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a unit test that validates the new behavior, thanks!
I tried adding a test for it, but it seems like it's not possible to mock GitHub Actions' |
You can add test it by using it in a workflow and checking that the right env var is set. |
Great idea @sionescu , I added a test using GH Actions. |
Looks good @F21 - would you please update your branch from main, then I'll merge it. |
Done @falti 😄 |
Can it preserve the case when exporting as environment variables ? |
@sionescu It doesn't preserve the case as everything is lower-cased by |
This PR adds the
export-variables
option that also exports the variables as environment variables.Closes #42