Skip to content

Commit

Permalink
Keep old environment variable for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Baars committed Jun 17, 2020
1 parent 655cb05 commit 8896560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export async function getJava(
}

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

0 comments on commit 8896560

Please sign in to comment.