Commit Graph

320 Commits

Author SHA1 Message Date
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
Bryan Clark 6ae690c576 Add test for overwrite 2019-12-06 14:46:35 -05:00
Bryan Clark b7e70417f9 Remove last trailing space 2019-12-06 14:36:32 -05:00
Bryan Clark dbeab7ccf2 Remove trailing spaces and long lines 2019-12-06 14:35:32 -05:00
Bryan Clark 540a98ac02 Wrap long lines in action.yml 2019-12-06 14:33:05 -05:00
Bryan Clark 4b6ff8caf0 Format auth 2019-12-06 14:32:51 -05:00
Bryan Clark 8940139ee8 Be explicit about second flag 2019-12-06 14:28:34 -05:00
Bryan Clark 5e29577d7b Remote options from log 2019-12-06 14:28:17 -05:00
Bryan Clark 1dac4fef05 Use $HOME directory 2019-12-06 14:25:41 -05:00
Bryan Clark 797045350f code == EEXIST 2019-12-05 00:54:26 -05:00
Bryan Clark 948db7588e strringify the logs 2019-12-05 00:48:15 -05:00
Bryan Clark 2b05c00514 logging code 2019-12-05 00:45:56 -05:00
Bryan Clark 96236d7072 return but shoudl still fail 2019-12-05 00:43:41 -05:00
Bryan Clark 12896dfb0f logging options 2019-12-05 00:41:50 -05:00
Bryan Clark bfbec53132 log when we overwrite the file 2019-12-04 23:54:21 -05:00
Bryan Clark c1c11bbc1b
Examples use v1 instead of master
Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
2019-12-04 23:22:47 -05:00
Konrad Pabjan cfdbba3eb5
Merge pull request #32 from dzirbel/patch-1
Fix typo in README.md
2019-12-04 09:50:34 -05:00
Dominic Zirbel abe10fa040
Fix typo in README.md 2019-11-29 22:53:14 -08:00
Bryan Clark d5150a6a67 Add publish to Maven Central example to README 2019-11-29 09:26:29 -08:00
Bryan Clark 210fba7587 Add note about pom.xml to README 2019-11-28 14:52:51 -08:00