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
Allow to define a JAVA_HOME variable for each installation #337
Comments
Hello @laeubi. Thank you for your report. The action does not produce such kind of env variable. It produces only |
@dmitry-shibanov so who is setting the variable then? I can only tell that adding this action makes both variables aviable |
By the way this was mentioned here: |
@laeubi I've printed env variables by pattern |
@dmitry-shibanov first this is what I mean: so somehow it is added but I have no idea why (maybe as result of tool install?) :-)
Maybe the action can then be changed to explicitly set those variables? This is incredible useful for such purposes where one needs many JVMs in the same run... |
It seems in (older) versions of the script, they where also produced (or overridden) by the setup action: Lines 76 to 79 in b52cd69
do you think such a feature could be added back? Maybe even by make the env variable configurable and defaulting to |
Duplicate of #44 |
Description:
We have a setup where we need different JVM versions in
parallel
, for that we call the setup step multiple times and setup later a toolchain using the env variables. This works fine for Java 11 / 17 but with java 18 it produces a JAVA_HOME_8X64 instead of JAVA_HOME18_X64Task version:
v3
Platform:
Runner type:
Repro steps:
You can find a run here: https://github.com/eclipse/tycho/runs/6737378073
If you open the "Build Tycho" step, there is a list of env variables and one can see the following ones:
Expected behavior:
I want to see an env variable named
JAVA_HOME_18_X64
Actual behavior:
I see an env variable
JAVA_HOME_8_X64
is created insteadThe text was updated successfully, but these errors were encountered: