mirror of
https://github.com/actions/setup-java.git
synced 2026-07-29 21:16:26 +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:
@@ -110,6 +110,11 @@ export class GraalVMDistribution extends JavaBase {
|
||||
}
|
||||
}
|
||||
|
||||
protected setJavaDefault(version: string, toolPath: string): void {
|
||||
super.setJavaDefault(version, toolPath);
|
||||
core.exportVariable('GRAALVM_HOME', toolPath);
|
||||
}
|
||||
|
||||
protected async findPackageForDownload(
|
||||
range: string
|
||||
): Promise<JavaDownloadRelease> {
|
||||
|
||||
Reference in New Issue
Block a user