Commit graph

19 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
eric sciple
60cf21b5e7 standardize workflow test pattern 2020-02-11 19:38:16 -05:00
Bryan Clark
0e5545ead5 improve tests 2019-12-19 14:18:54 -08:00
Bryan Clark
1bba665156 Try env variables 2019-12-19 11:28:11 -08:00
Bryan Clark
ce88feea94 Move to settings-path 2019-12-10 13:02:21 -08:00
Bryan Clark
ae11e1a1b6 Allow for alternate settings.xml file location
Use the m2-home to specify a new location for the settings.xml file
2019-12-10 10:03:33 -08:00
Bryan Clark
551e2a2770 sanitzie XML characters 2019-12-10 09:26:51 -08:00
Bryan Clark
9d56a3bd35 prettier fixup 2019-12-10 09:26:42 -08:00
Bryan Clark
6ae690c576 Add test for overwrite 2019-12-06 14:46:35 -05:00
Bryan Clark
b0e5cf270d Support ids 2019-11-28 13:35:47 -08:00
Bryan Clark
56eacf97f5 move required parameters to auth module
username and password are required from within the auth module now.  Update the tests to ensure this is the case.
2019-11-28 13:35:47 -08:00
Bryan Clark
a3e6ce2153 Adding maven auth support 2019-11-28 13:35:47 -08: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
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
Danny McCormick
06d666cd11 Populate repo 2019-07-10 10:54:25 -04:00