Commit graph

6 commits

Author SHA1 Message Date
Plamen Totev
249ea4386f Normalize the version before it is looked up in the tool cache
Currently the resolved version is cached. For example something like 8.0.141.
On other hand when a version is looked up in the cache the string provided
by the user is used. This may lead to unexpected behavior. 1.8 will not match
8.0.141. Normalizing the version string before looking up in the tool cache
will solve the problem. The normalized version (8.x) will match the
entry in the cache as expected.

Normalizing the string in the beginning of the flow won't hurt
as it is a valid version specification. What is more it the user can supply
the normalized version directly so the code should be able to work with it.
2020-04-14 21:17:06 +03: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
4fa0fd2a23
Add problem matcher (#4) 2019-07-11 22:57:54 -04:00
Renamed from __tests__/setup-java.test.ts (Browse further)