Commit Graph

17 Commits

Author SHA1 Message Date
Jared Petersen
01f44229d4 Merge remote-tracking branch 'upstream/master' 2020-06-23 20:54:13 -07:00
Arthur Baars
88965601fb Keep old environment variable for backwards compatibility 2020-06-17 21:37:10 +02:00
Arthur Baars
655cb05195 Add comment explaining why the environment variable should be normalized 2020-06-17 19:37:01 +02:00
Arthur Baars
81bfa641b0 Normalize extendedJavaHome environment variable
The extendedJavaHome environment variable contains `.` symbols in the version. This causes the environment variable to be ignored by the action runner. It's best to replace those and other non standard symbols with and underscore.

For reference:
> Environment variable names used by the utilities in the Shell and Utilities volume of IEEE Std 1003.1-2001 consist solely of uppercase letters, digits, and the '_' (underscore) from the characters defined in Portable Character Set .
2020-06-17 18:17:42 +02:00
Thomas Broyer
457d7a4579 Add output parameters for the tool path and version
This allows calling the action multiple times in the
same job and retrieving the path and/or version in
other steps.

Fixes #65
2020-05-27 09:04:20 +02:00
Jared Petersen
d94db22179 Added support for GPG 2020-05-15 23:40:06 -07:00
eric sciple
9c4f82dc57 add retries and error handling 2020-02-11 16:37:51 -05:00
David Kale
90c448a85d Update packages to support http_proxy 2020-02-06 15:44:54 -05:00
Konrad Pabjan
ae23cbb7c2 Update master with dependabot fixes 2019-12-31 00:51:09 -05:00
Gil Tene
f8061412c6
Add support for matching -ea version formats
This will support specifying EA versions in the following format examples. E.g.:
14-ea
14.0.0-ea
14.0.0-ea.28
Notes:
 - For the last form above, which is needed for requesting a specific ea build, we must only add '.x' if there are less than 3 dots in the version, hence the change from != 3 to < 3
- The prior parsing logic for e.g. 14.0.0-ea "spelling" will ignore precedence between build numbers in the form of e.g. 14.0.0-ea+b27 vs. 14.0.0-ea+b27 (so it will end up with the earliest rather than the latest ea build in the cdn), and does not allow specifying an ea build number (it will match 14.0.0-ea+b29 to a cdn 14.0.0-ea+b2). The new logic [copupled with the CDN populating EA builds in the form 14.0.0-ea.28) will resolve that.
2019-12-21 19:51:32 -08:00
Konrad Pabjan
980efe83e2 Cleanup 2019-11-25 10:12:17 -05:00
Gil Tene
7d219e5bd5
Add java-package parameter to action, support jre, jdk, and jdk+fx (#1)
* Add java-package parameter to action, support jre, jdk, and jdk+fx (#1)

* Update tests to use 'jdk', 'jre', and 'jdk+fx' javaPackage parameters

* Match extension only at end of line

* Update README.md

* Update workflow to use 'node-version' instead of deprecated 'version'
2019-11-02 21:39:35 -07:00
Stephen Franceschelli
c0655ddd33 Fix build. (#11)
* Fix.

* Husky commit correct node modules

* update temp in installer
2019-07-30 14:01:45 -04:00
Danny McCormick
b6dbbd5232
Handle semver (#8)
* Handle semver

* Clean up
2019-07-18 16:00:58 -04:00
Danny McCormick
0cf3ae56f5
Download from Azul if no Jdk file specified (#5)
* Download from zulu

* Fix pathing

* Fix

* Fix

* Fix

* Update io

* Tests and pathing

* Add back husky

* Update action.yml
2019-07-15 14:59:23 -04:00
Danny McCormick
012e07621e Dont fail if jdkFile not set until checking cache 2019-07-15 11:26:32 -04:00
Danny McCormick
46ca045b4e
Features/installer (#1)
* Initial attempt

* Clean up

* Extract right directory

* Log whats happening

* Read correct directory

* Full path

* Allow java to be found in cache

* Add tests
2019-07-10 23:11:48 -04:00