Kengo TODA
807e5741d8
fix: rerun ncc on macOS with node v12
2021-08-19 19:22:36 +08:00
Kengo TODA
ea721b3954
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
2021-08-19 19:19:47 +08:00
Kengo TODA
0082baa031
format: run npm run build
to reflect changes to the dist dir
2021-08-19 10:53:52 +08:00
Kengo TODA
6edf849b58
style: put the name of input to the constants.ts
2021-08-19 10:49:41 +08:00
Kengo TODA
cb966d0c2b
Update src/cache.ts
...
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-08-19 10:28:55 +08:00
Kengo TODA
098a6567de
Update src/cleanup-java.ts
...
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-08-19 10:28:13 +08:00
Kengo TODA
862dedbae1
Merge remote-tracking branch 'origin/main' into introduce-cache
2021-08-18 11:02:16 +08:00
Dmitry Shibanov
53f73ba16b
Add validation for post step ( #3 )
...
* work on fixing cache post step
* fix tests
2021-08-18 10:52:37 +08:00
Jochen Schalanda
4b1b3d4a82
Add support for Eclipse Temurin ( #201 )
...
* Add support for Adoptium OpenJDK
Refs https://github.com/actions/setup-java/issues/191
* Rename distribution to Eclipse Temurin
* Update end-to-end tests in GitHub workflows
* Exclude e2e tests for Temurin JREs for now
* fix version
* Update e2e-versions.yml
* Handle Eclipse Temurin version suffixes ("beta")
* Add test for new version suffix "beta"
* Add updated `index.js`
* fix an issue
Co-authored-by: Maxim Lobanov <maxim-lobanov@github.com>
2021-08-06 13:12:36 +03:00
Kengo TODA
5f3f74c689
run clean-up tasks in serial
2021-08-02 20:14:49 +08:00
Kengo TODA
f6a3b974ec
add missing description in the README.md
2021-07-20 11:33:43 +08:00
Kengo TODA
fae2927552
suggest users to run without daemon if fail to save Gradle cache on Windows
2021-07-20 11:32:37 +08:00
Kengo TODA
7fe6c4d631
use the key in state to save caches in the post process
2021-07-16 09:22:52 +08:00
Kengo TODA
6977c031ae
try to run restore after the authentication
2021-07-15 08:42:31 +08:00
Kengo TODA
8687e45311
add .gitignore files to __tests__/cache directories
2021-07-15 08:31:59 +08:00
Kengo TODA
313e1ad891
stabilize the cache on the Windows in e2e test
2021-07-15 08:29:09 +08:00
Kengo TODA
1872d8ed8c
fix the dependency among workflows
2021-07-14 20:20:47 +08:00
Kengo TODA
a5a0c525bb
add an e2e test for maven
2021-07-14 20:16:16 +08:00
Kengo TODA
3e2fde2f83
run the restore e2e test on the specified OS
2021-07-14 20:08:41 +08:00
Kengo TODA
b047f97e17
test: extract build.gradle to a file in __tests__ dir
2021-07-14 19:52:30 +08:00
Kengo TODA
f537562e33
add a prefix to the cache key
...
https://github.com/actions/setup-java/pull/193/files#r669521434
2021-07-14 19:50:14 +08:00
Kengo TODA
0591f86118
reflect changes to the dist dir
2021-07-13 09:33:40 +08:00
Kengo TODA
945940ebfb
add a user doc about the dependency cache feature
2021-07-13 09:32:28 +08:00
Kengo TODA
4a7bf9903c
integrate the cache logic to entry points
2021-07-13 09:04:54 +08:00
Kengo TODA
fef7d5836a
implement a core logic to cache dependnecies
2021-07-13 09:04:03 +08:00
MaksimZhukov
ad01d131cc
Automate releasing new versions of the "setup-java" action ( #182 )
...
* Automate releasing new versions of the setup-java action
* Use permissions as a top-level key
Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2021-05-27 17:28:08 +03:00
dependabot[bot]
d9126d7df2
Bump hosted-git-info from 2.8.8 to 2.8.9 ( #178 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 16:38:14 +03:00
Marcono1234
53ac717e09
Improve README and advanced usage guide ( #174 )
2021-05-17 16:38:02 +03:00
Marcel
cbc183b1c1
Added 'adopt-hotspot' and 'adopt-openj9' ( #155 )
...
* Added 'adopt-hotspot' and 'adopt-openj9'
* Fixed adopt toolchain folder
2021-05-17 16:33:21 +03:00
Dmitry Shibanov
0443912ed7
Fix typo in documentation "jdkfile" ( #167 )
2021-04-14 11:33:57 +03:00
Manuel
56b2808da7
Fix typo on distribution "jdkfile" ( #163 )
...
Its jdkfile and not "jdkFile", see b53500dabc/src/distributions/distribution-factory.ts (L10)
2021-04-12 20:14:22 +03:00
Dmitry Shibanov
00401c4488
add cron for e2e tests, twice a day ( #162 )
2021-04-12 11:08:05 +03:00
Nuh Koca
1e063f2878
Fix navigation issue of supported distributions ( #153 )
2021-04-05 17:59:08 +03:00
Maxim Lobanov
8764a52df1
Rename v2-preview to v2 in docs and tests ( #151 )
2021-04-05 13:14:38 +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
ebb424f2cb
Beatify "main" warning about breaking changes ( #144 )
...
* add warning
* Update src/setup-java.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
* Update index.js
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-03-22 12:05:47 +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
Konrad Pabjan
fc62ccaa4f
V2 setup-java ADR ( #97 )
...
* V2 setup-java initial ADR
* Update ADR
* Misc fixes
* Clarifications around default behavior and new input
* PR feedback
2021-03-08 12:38:33 -05:00
Maxim Lobanov
e73e96a93b
Merge pull request #131 from actions/v-malob/update-codeowners
...
Add @actions/virtual-environments-owners to CODEOWNERS file
2021-03-05 09:36:36 +03:00
Maxim Lobanov
ea31b1d738
Update CODEOWNERS
2021-03-04 21:22:42 +03:00
Maxim Lobanov
ff0054dfbf
Merge pull request #123 from dmitry-shibanov/fix-documentation-for-gpg-import-export
...
Fix documentation for GPG
2021-02-17 11:13:48 +03:00
Dmitry Shibanov
81290cdb8c
change imported to exported
2021-02-16 18:12:46 +03:00
Maxim Lobanov
546dae7e87
Merge pull request #122 from dmitry-shibanov/update-docs-for-maven-and-gpg
...
Add notes about maven extra configuration and gpg key.
2021-02-15 12:03:32 +03:00
Dmitry Shibanov
4d656d0138
work on resolving comments
2021-02-15 10:22:04 +03:00
Dmitry Shibanov
719bcb4f94
resolve comments
2021-02-12 16:16:23 +03:00
Dmitry Shibanov
661c4c13b4
update docs to notes about maven and gpg
2021-02-12 12:26:52 +03:00
Maxim Lobanov
2fac83dd2d
Merge pull request #121 from dmitry-shibanov/restrict-blank-issues
...
Restrict blank issues
2021-02-10 17:30:29 +03:00
Dmitry Shibanov
fbe6d87076
add bug to labels
2021-02-10 16:58:41 +03:00
Dmitry Shibanov
371353f882
fix label creation
2021-02-10 12:49:56 +03:00
Dmitry Shibanov
5222f725dd
restrict create blank issue
2021-02-10 12:08:43 +03:00