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

Request: Add environment variable reference/list #2452

Closed
carstenhag opened this issue Jan 15, 2021 · 5 comments
Closed

Request: Add environment variable reference/list #2452

carstenhag opened this issue Jan 15, 2021 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation investigate Collect additional information, like space on disk, other tool incompatibilities etc.

Comments

@carstenhag
Copy link

Hello there! I really like the image Readme's like https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md. But when I need to add/write scripts for the CI runner, I am always confused as on what environment variables are available and how they are called.

Is it $ANDROID_HOME, $ANDROID_SDK_HOME, $ANDROID_SDK_ROOT or what is it? I pretty much have to find out doing trial and error.

@carstenhag carstenhag changed the title Add environment variable reference/list Request: Add environment variable reference/list Jan 15, 2021
@miketimofeev
Copy link
Contributor

Hi @carstenhag!
Thanks for your proposal! We'll investigate how many custom env variables (like $ANDROID_HOME, $ANDROID_SDK_HOME, etc) we have and think about the best way of adding them to the docs. Probably they can be added to the related tool section as we currently do for Java
image

@miketimofeev miketimofeev added documentation Improvements or additions to documentation investigate Collect additional information, like space on disk, other tool incompatibilities etc. and removed needs triage labels Jan 15, 2021
@carstenhag
Copy link
Author

Sounds good!

@maxim-lobanov
Copy link
Contributor

Found the following environment variables that are mentioned in documentation:

All platforms:
ANDROID_HOME
ANDROID_SDK_ROOT
ANDROID_NDK_HOME
CHROMEWEBDRIVER
EDGEWEBDRIVER
GECKOWEBDRIVER
VCPKG_INSTALLATION_ROOT
CONDA
ANT_HOME
GRADLE_HOME
M2_HOME

Ubuntu:
GOROOT
GOROOT_1_13_X64
GOROOT_1_14_X64
GOROOT_1_15_X64

ANDROID_* and GOROOT definitely should be in documentation. Other variables are optional since those tools are already in PATH and variables are not needed to use. Moved this work item to backlog

@carstenhag
Copy link
Author

Thanks for integrating this :) We can close it now imo, or is there still something to do?

@miketimofeev
Copy link
Contributor

@carstenhag yes, I'm going to close the issue. Thanks for your proposal!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation investigate Collect additional information, like space on disk, other tool incompatibilities etc.
Projects
None yet
Development

No branches or pull requests

4 participants