mirror of
https://github.com/actions/setup-java.git
synced 2026-07-28 21:06:27 +00:00
Set GRAALVM_HOME for GraalVM distributions (#1146)
* Initial plan * Set GRAALVM_HOME for GraalVM distributions * Rebuild setup action bundle --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Vendored
+4
@@ -131328,6 +131328,10 @@ class GraalVMDistribution extends JavaBase {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
setJavaDefault(version, toolPath) {
|
||||
super.setJavaDefault(version, toolPath);
|
||||
exportVariable('GRAALVM_HOME', toolPath);
|
||||
}
|
||||
async findPackageForDownload(range) {
|
||||
this.validateVersionRange(range);
|
||||
const arch = this.getSupportedArchitecture();
|
||||
|
||||
Reference in New Issue
Block a user