Evgenii Korolevskii
291b946ea5
fix review points
2022-12-08 15:32:14 +01:00
Evgenii Korolevskii
c13e4b13ba
fix review points
2022-12-08 15:28:21 +01:00
Evgenii Korolevskii
d28f3e22c6
fix review points
2022-12-08 12:31:13 +01:00
Evgenii Korolevskii
f68f88a1bc
format & build
2022-12-08 10:46:41 +01:00
Evgenii Korolevskii
43f5042dba
change version match logic
2022-12-08 10:40:03 +01:00
Evgenii Korolevskii
5a85bfb40d
build
2022-12-07 09:26:15 +01:00
Evgenii Korolevskii
1e74ea6a75
code format
2022-12-07 09:25:35 +01:00
Evgenii Korolevskii
5e09f33af6
add java-version-file input
2022-12-07 08:54:15 +01:00
Evgenii Korolevskii
6d0f35f2d4
format & build
2022-11-29 12:19:56 +01:00
Evgenii Korolevskii
50a98698d0
update regExp
2022-11-29 10:33:54 +01:00
Evgenii Korolevskii
e2c02857f1
remove unused import
2022-11-24 19:24:01 +01:00
Evgenii Korolevskii
a4d7bf0a41
added debug
2022-11-24 19:10:50 +01:00
Evgenii Korolevskii
d0a3b38995
update version splitter
2022-11-24 19:06:00 +01:00
Evgenii Korolevskii
4a04cfa3c7
rigth major version
2022-11-24 18:29:10 +01:00
Evgenii Korolevskii
5162a56729
retry logic
2022-11-24 18:23:19 +01:00
Evgenii Korolevskii
7bad438e84
await install
2022-11-24 18:14:22 +01:00
Evgenii Korolevskii
f8c67ed9c3
install version from file
2022-11-24 18:06:32 +01:00
Evgenii Korolevskii
5a37903655
ver parse
2022-11-24 17:48:09 +01:00
Evgenii Korolevskii
d4cd9e298e
parseversion
2022-11-24 17:37:53 +01:00
Evgenii Korolevskii
c77138c273
coerce
2022-11-24 16:54:19 +01:00
Evgenii Korolevskii
c86f786dcf
clean contents
2022-11-24 16:51:47 +01:00
Evgenii Korolevskii
af8b898a83
clean string
2022-11-24 16:50:35 +01:00
Evgenii Korolevskii
8dcd17f2ef
parse version
2022-11-24 16:38:22 +01:00
Evgenii Korolevskii
680565b9c5
build
2022-11-17 13:21:58 +01:00
Evgenii Korolevskii
d5d37d43c2
build
2022-11-17 13:16:34 +01:00
Evgenii Korolevskii
4966150d90
build
2022-11-17 13:11:27 +01:00
Evgenii Korolevskii
1fbc280dd3
log versions
2022-11-17 13:10:21 +01:00
Nikolas Grottendieck
eb1418aa81
Add Maven Toolchains Declaration ( #276 )
...
* Add (optional) Maven Toolchains Declaration after JDK is installed
* Extract common/shared Maven constants
Resolves #276
2022-09-27 17:25:52 +02:00
Dmitry Shibanov
d854b6da19
Add support for multiple jdks ( #368 )
2022-09-08 15:26:54 +02:00
Shubham Tiwari
dc1a9f2791
Caching on GHES ( #308 )
...
* initial changes
* review comments
* updated with correct message
* linting
* update version
* updated version
2022-03-31 15:09:57 -04:00
Kengo TODA
08e4e813b8
Introduce the dependency caching for Maven and Gradle ( #193 )
...
* implement a core logic to cache dependnecies
* integrate the cache logic to entry points
* add a user doc about the dependency cache feature
* reflect changes to the dist dir
* add a prefix to the cache key
https://github.com/actions/setup-java/pull/193/files#r669521434
* test: extract build.gradle to a file in __tests__ dir
* run the restore e2e test on the specified OS
* add an e2e test for maven
* fix the dependency among workflows
* stabilize the cache on the Windows in e2e test
* add .gitignore files to __tests__/cache directories
* try to run restore after the authentication
* use the key in state to save caches in the post process
* suggest users to run without daemon if fail to save Gradle cache on Windows
* add missing description in the README.md
* run clean-up tasks in serial
* Add validation for post step (#3 )
* work on fixing cache post step
* fix tests
* Update src/cleanup-java.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
* Update src/cache.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
* style: put the name of input to the constants.ts
* format: run `npm run build` to reflect changes to the dist dir
* chore: update licensed files by `licensed cache`
it still has three errors as follows:
>* setup-java.npm.sax
> filename: /Users/kengo/GitHub/setup-java/.licenses/npm/sax.dep.yml
> - license needs review: other
>
>* setup-java.npm.tslib-1.14.1
> filename: /Users/kengo/GitHub/setup-java/.licenses/npm/tslib-1.14.1.dep.yml
> - license needs review: 0bsd
>
>* setup-java.npm.tslib-2.3.0
> filename: /Users/kengo/GitHub/setup-java/.licenses/npm/tslib-2.3.0.dep.yml
> - license needs review: 0bsd
* fix: rerun ncc on macOS with node v12
* build: follow the suggestion at PR page
https://github.com/actions/setup-java/pull/193#issuecomment-901839546
* fix: throw error in case of no package manager file found
Co-authored-by: Dmitry Shibanov <dmitry-shibanov@github.com>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-08-19 20:19:35 +03:00
Maxim Lobanov
b53500dabc
Merge "v2-preview" branch into "main" ( #150 )
...
* actions/setup-java@v2 - Support different distributions (#132 )
* Implement support for custom vendors in setup-java
* minor improvements
* minor refactoring
* Add unit tests and e2e tests
* Update documentation for setup-java@v2 release
* minor improvements
* regenerate dist
* fix comments
* resolve comments
* resolve comments
* fix tests
* Update README.md
Co-authored-by: George Adams <george.adams@microsoft.com>
* Apply suggestions from code review
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
* fix minor nitpicks
* handle 4th digit
* pull latest main
* Update README.md
* rename adoptium to adopt
* rename adoptium to adopt
* rename adoptium to adopt
* Update README.md
* make java-version and distribution required for action
* update readme
* fix tests
* fix e2e tests
Co-authored-by: George Adams <george.adams@microsoft.com>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
* Add "overwrite-settings" input parameter (#136 )
* add overwrite-settings parameter
* fix e2e tests
* print debug
* fix e2e tests
* add comment
* remove comment
* Add "Contents/Home" postfix on macOS if provider creates it (#139 )
* Update e2e-versions.yml
* Update e2e-versions.yml
* implement fix
* Update e2e-versions.yml
* Update installer.ts
* fix filter logic
* Update e2e-versions.yml
* remove extra logic
* Update e2e-versions.yml
* Add check-latest flag (#141 )
* add changes for check-latest
* run prerelease script
* resolving comments
* fixing tests
* fix spelling
* improve core.info messages
* run format
* run prerelease
* change version to fix test
* resolve comment for check-latest
* Update README.md
* added hosted tool cache section
* Apply suggestions from code review
Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
* Avoid "+" sign in Java path in v2-preview (#145 )
* try to handle _ versions
* more logs
* more debug
* test 1
* more fixes
* fix typo
* Update e2e-versions.yml
* add unit-tests
* remove debug info from tests
* debug pre-cached versions
* change e2e tests to ubuntu-latest
* update npm licenses
Co-authored-by: George Adams <george.adams@microsoft.com>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
Co-authored-by: Dmitry Shibanov <dmitry-shibanov@github.com>
2021-04-05 13:02:27 +03:00
Maxim Lobanov
9c7940b9c6
Add breaking change warning to 'main' branch ( #138 )
...
* add warning
* Update src/setup-java.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-03-22 11:06:35 +03:00
Austin Shalit
d34a7e45c8
Architecture Support ( #95 )
...
* Quick fix for 32-bit architecture support.
* Validate arch at input
Co-authored-by: Émile Grégoire <eg@emilegregoire.ca>
2020-08-24 12:35:41 +02:00
Jared Petersen
4d8dc69fc8
fixing defaults
2020-07-15 21:15:27 -06:00
Jared Petersen
2d0e474aa9
removed unecessary set secret -- it's an environment variable not a literal
2020-07-15 20:27:28 -06:00
Jared Petersen
7f2382879a
addressed most of the feedback
2020-07-15 19:53:39 -06: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
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