Commit Graph

8 Commits

Author SHA1 Message Date
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