1
0
Fork 0
mirror of https://github.com/actions/setup-java synced 2024-12-22 21:22:41 +00:00
Commit graph

189 commits

Author SHA1 Message Date
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
Konrad Pabjan
6e1616c588
Merge pull request #66 from tbroyer/outputs
Add output parameters for the tool path and version
2020-05-27 13:31:58 +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
e494666ae9 fixed setSecret 2020-05-22 21:30:38 -07:00
Jared Petersen
d94db22179 Added support for GPG 2020-05-15 23:40:06 -07:00
Konrad Pabjan
4003c04fbc
Delete lint-yaml.yml 2020-05-11 20:09:41 +02:00
Konrad Pabjan
9c7b108c73
Merge pull request #58 from actions/dependabot/npm_and_yarn/actions/http-client-1.0.8
Bump @actions/http-client from 1.0.6 to 1.0.8
2020-05-11 20:08:10 +02:00
dependabot[bot]
505c9972aa
Bump @actions/http-client from 1.0.6 to 1.0.8
Bumps [@actions/http-client](https://github.com/actions/http-client) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/actions/http-client/releases)
- [Changelog](https://github.com/actions/http-client/blob/master/RELEASES.md)
- [Commits](https://github.com/actions/http-client/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-29 18:00:13 +00:00
Konrad Pabjan
5c87b70ffe
Merge pull request #52 from actions/dependabot/npm_and_yarn/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4
2020-03-19 17:22:10 +01:00
dependabot[bot]
ea8ea84c9e
Bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-16 11:25:52 +00:00
Konrad Pabjan
6dc4d4a3ed
Merge pull request #41 from foo-actions/master
Update REAME and action.yml to describe java-version syntax options
2020-02-12 09:58:10 -05:00
Konrad Pabjan
5ef3a8d61b
Merge pull request #49 from ericsciple/users/ericsciple/m166proxy
standardize workflow test pattern
2020-02-12 09:47:44 -05:00
eric sciple
60cf21b5e7 standardize workflow test pattern 2020-02-11 19:38:16 -05:00
Konrad Pabjan
f63b906f27
Merge pull request #48 from ericsciple/users/ericsciple/m166retry
add retries and error handling
2020-02-11 17:56:38 -05:00
eric sciple
9c4f82dc57 add retries and error handling 2020-02-11 16:37:51 -05:00
Konrad Pabjan
623089a937
Merge pull request #46 from dakale/http-proxy-support
http proxy support
2020-02-11 15:48:53 -05:00
David Kale
ec103c0d1a Remove debugging step 2020-02-06 15:48:29 -05:00
David Kale
90c448a85d Update packages to support http_proxy 2020-02-06 15:44:54 -05:00
Madhuri Gummalla
63d68602dd
Merge pull request #45 from scordio/actions-checkout_version
Update examples to use actions/checkout@v2
2020-02-03 20:12:39 -05:00
Stefano Cordio
351c3fb96f Update examples to use actions/checkout@v2 2020-01-31 01:52:07 +01:00
Gil Tene
f6b96adea7 Update README and action.yml to describe java-version syntax 2020-01-09 00:49:07 -08:00
Gil Tene
c74a6f8415 Update README and action.yml to describe java-version syntax 2020-01-09 00:45:37 -08:00
Konrad Pabjan
b52cd69bd2
Update workflow.yml 2019-12-31 01:04:50 -05:00
Konrad Pabjan
ae23cbb7c2 Update master with dependabot fixes 2019-12-31 00:51:09 -05:00
Konrad Pabjan
4bec33ae89
Merge pull request #36 from actions/dependabot/npm_and_yarn/handlebars-4.5.3
Bump handlebars from 4.1.2 to 4.5.3
2019-12-31 00:33:27 -05:00
Konrad Pabjan
0e40802452
Merge pull request #35 from foo-actions/master
Add more robust support for EA version specification
2019-12-31 00:25:51 -05:00
dependabot[bot]
5c4dee6c5e
Bump handlebars from 4.1.2 to 4.5.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-29 19:05:41 +00:00
Gil Tene
ae687a76f9
Update index.js 2019-12-21 19:56:10 -08: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
d8ada524fc
Merge pull request #29 from clarkbw/maven-auth
Adding maven auth support
2019-12-20 14:48:30 -05:00
Bryan Clark
9b11fe4b5d Add defaults descriptions to actions.yml 2019-12-20 08:35:06 -08:00
Bryan Clark
2ccd1ad125 Add examples of the settings.xml file generated 2019-12-19 15:44:10 -08: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
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
6924f73ee0 Address latest review feedback 2019-12-19 08:52:26 -08:00
Bryan Clark
998be8d08f
Add default to settings-path description
Co-Authored-By: Chris Patterson <chrispat@github.com>
2019-12-18 11:05:01 -08:00
Bryan Clark
2e749e50a6 Update settings-path for github.workspace 2019-12-10 14:25:15 -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
4757680fc9 Add Shared Runner to README
Be the docs for the feature you want to see. #docsdrivendevelopment
2019-12-10 09:37:07 -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
8ccac94e40
README Small spelling fix. Also some rewording
Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
2019-12-09 12:16:15 -05:00
Bryan Clark
203550b542 Add Gradle example to README 2019-12-06 16:21:27 -05:00
Bryan Clark
2f85cc5281 Merge branch 'maven-auth' of github.com:clarkbw/setup-java into maven-auth 2019-12-06 16:14:53 -05:00
Bryan Clark
70aff31eb7
Apply suggestions from code review
Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
2019-12-06 15:31:28 -05:00
Bryan Clark
ddf78adea0 Add note about $HOME directory usage 2019-12-06 14:50:30 -05:00
Bryan Clark
f33acc6b4f build release 2019-12-06 14:46:43 -05:00