Skip to content

Commit 8896560

Browse files
committed
Keep old environment variable for backwards compatibility
1 parent 655cb05 commit 8896560

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/installer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export async function getJava(
8787
}
8888

8989
let extendedJavaHome = 'JAVA_HOME_' + version + '_' + arch;
90+
core.exportVariable(extendedJavaHome, toolPath); //TODO: remove for v2
9091
// For portability reasons environment variables should only consist of
9192
// uppercase letters, digits, and the underscore. Therefore we convert
9293
// the extendedJavaHome variable to upper case and replace '.' symbols and

0 commit comments

Comments
 (0)