Commit graph

17 commits

Author SHA1 Message Date
Janne Valkealahti
7b8939ae83 Add support for maven/gradle versions
- Essentially use same concepts as jdk install to switch
  maven and gradle versions if those are defined with config.
- Bump to tool-cache 1.3.0 as 1.0.0 tries to use
  node_modules/@actions/tool-cache/scripts/externals/unzip which doesn't have
  execute flag so you'd get `Permission denied`
- `extractZipNix` in toolkit no longer support relative path so needs to
  resolve absolute path before passing file to these methods.
- Commit has my local build for `index.js` which probably should get
  recreated but makes it easier to test this from a PR branch.
- Fixes #40
2020-01-17 12:58:57 +00:00
Bryan Clark
c05b45bb91 Update README with env sections 2019-12-19 15:39:48 -08:00
Bryan Clark
7e36086f36 Pass undefined when empty 2019-12-19 14:20:17 -08:00
Bryan Clark
1bba665156 Try env variables 2019-12-19 11:28:11 -08:00
Bryan Clark
6924f73ee0 Address latest review feedback 2019-12-19 08:52:26 -08:00
Bryan Clark
24327359f8 use server-id instead of ambigous id 2019-11-28 13:35:47 -08:00
Bryan Clark
dc5f78f54d generated and pretty files 2019-11-28 13:35:47 -08:00
Bryan Clark
b0e5cf270d Support ids 2019-11-28 13:35:47 -08:00
Bryan Clark
1b0417032a Move auth to the bottom of setup 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
Danny McCormick
475978becf
Use java-version (#14) 2019-08-13 16:24:39 -04:00
Danny McCormick
012e07621e Dont fail if jdkFile not set until checking cache 2019-07-15 11:26:32 -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