Skip to content
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

Should we use environment_variable action? #21116

Open
alexhayes opened this issue Mar 7, 2023 · 2 comments
Open

Should we use environment_variable action? #21116

alexhayes opened this issue Mar 7, 2023 · 2 comments

Comments

@alexhayes
Copy link

This is perhaps more a question/clarification than an issue (although I think the docs perhaps need to be updated depending on outcome).

In the description for the environment_variable action it states;

Sets/gets env vars for Fastlane.swift. Don't use in ruby, use ENV[key] = val

This doesn't make a whole heap of sense to me.

Is the Don't use in ruby part suggesting that we shouldn't use this action to set environment variables in Ruby, that we should use ENV[key] = val? If so, why does this action exist?

Looking at the code, internally it uses ENV[key to set environment variables making this even more blurry to me.

Perhaps @taquitos you might be able to provide insight?

@fastlane-bot
Copy link

It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

@alexhayes
Copy link
Author

Thanks @fastlane-bot but this has nothing to do with fastlane env it's a potential issue with the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants