Commit Graph

115 Commits

Author SHA1 Message Date
Nikolas Grottendieck 82fce8d395
fix: Maven Toolchains grows unexpectedly
On self-hosted runners toolchains.xml may survive multiple runs and unexpectedly
grow as a result of the toolchains setup simply appending the JDK definition
even if one with the same `type` and `provides.id` already exists.

Restructuring the parsing step and filtering the potentially existing list of
toolchain definitions prevents this and also fixes toolchain.xml files that
already contain duplicates.

Fixes #530
2023-09-20 00:21:55 +02:00
Marko Zivic 4075bfc1b5
Merge pull request #503 from gnodet/fix-xml-namespaces
Fix XML namespaces wrongly using https
2023-08-31 06:15:25 +02:00
Endi327 cd89f46ac9
Add versions properties to cache (#280)
* Add versions properties to cache

* lint fix

npm run format change

* [FIX] unit test

* docs: fix typo in the Readme.md

* docs: update link to the toolkit/cache package

---------

Co-authored-by: Ivan Zosimov <ivan.zosimov@Ivans-MacBook-Pro.local>
2023-07-21 13:38:46 +02:00
Nikolai Laevskii 4fb397523b
Merge pull request #507 from akv-platform/update-oracle-jdk-url-calculation
Update Oracle JDK download URL calculation
2023-07-18 11:04:49 +02:00
Nikolai Laevskii 33b10b64eb Use archive as fallback only when dealing with major version 2023-07-18 09:28:12 +02:00
Ivan 75c6561172
Update dependencies (#511)
* chore: update dependencies, rebuild action

* chore: update licenses

* chore: rebuild action on linux
2023-07-10 17:20:15 +02:00
Nikolai Laevskii ebe05e0f88 Update build 2023-07-05 09:34:35 +02:00
Nikolai Laevskii 46099e1f14 Build 2023-07-05 09:34:34 +02:00
Guillaume Nodet 91f49aa1b0 Fix XML namespaces wrongly using https 2023-06-28 11:24:07 +02:00
Dmitry Shibanov 45058d7f99
Update xml2js (#484) 2023-06-15 17:41:12 +02:00
Ivan ddb82ce8a6
Corretto toolcache folder name fix (#480) 2023-04-10 10:29:19 +02:00
Doğaç Eldenk 404e5db3a1
fix sbt/scala cache key (#478) 2023-04-10 09:56:26 +02:00
Erwin Morrhey 191ba8c6ba
always check postfix "Contents/Home" on macOS (#397) 2023-04-04 11:40:40 +02:00
Jordie 5ffc13f417
IBM Semeru (OpenJ9) Support (#289) 2023-03-21 10:32:38 +01:00
Ivan 0de5c66fc0
Add and configure ESLint and update configuration for Prettier (#458)
* Add ESLint config and update Prettier

* Update test files

* Rebuild action

* Update docs

* Update licenses

* Update tsconfig

* Rebuild action

* Update tsconfig.json

* Fix console.time calls

* Rebuild action

* Rebuild action on Linux
2023-03-09 14:49:35 +02:00
Dmitry Shibanov 3f07048e3d
Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450)
This reverts commit c3ac5dd0ed.
2023-02-07 16:29:21 +01:00
Jongwoo Han 545223a83e
refactor: Use early return pattern to avoid nested conditions (#428) 2022-12-16 15:04:57 +01:00
Evgenii Korolevskii 1df8dbefe2
Add support for java.version file (#426) 2022-12-13 12:45:14 +01:00
Dmitry Shibanov c3ac5dd0ed
Revert "Add support for Oracle JDK (#401)" (#421)
This reverts commit 6cdf39a6b6.

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-12-05 17:45:21 +01:00
Dmitry Shibanov bd7e5d28eb
Update minimatch to 3.1.2 (#413) 2022-11-23 15:24:31 +01:00
Fabio Niephaus 6cdf39a6b6
Add support for Oracle JDK (#401) 2022-11-23 13:28:51 +01:00
Dmitry Shibanov bf2f02c4a7
Pass the token input through on GHES for Microsoft Build of OpenJDK (#395) 2022-11-18 09:33:59 +01:00
Kengo TODA de1bb2b0c5
feat: support Gradle version catalog (#394) 2022-10-17 18:34:41 +02:00
Sankalp Kotewar 2c53c1a588
Update actions/cache to 3.0.4 version (#392) 2022-10-17 12:12:57 +02:00
Wes Morgan 3617c43588
Default to runner architecture (#376) 2022-10-11 01:47:17 +02:00
Francesco Renzi dfcd06a4b9 Update @actions/core to 1.10.0 2022-10-06 12:11:13 +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 a18c333f3f
Add versions-manifest.json for Microsoft Build of OpenJDK (#383) 2022-09-23 14:47:30 +02:00
qhy040404 7bbeb80d24
Fix typo (#380) 2022-09-09 13:35:58 +02:00
Dmitry Shibanov d854b6da19
Add support for multiple jdks (#368) 2022-09-08 15:26:54 +02:00
Marko Zivic ef96bec0e4
Merge pull request #274 from schuenadel/include-buildSrc-in-cache-key
Include *.kt files in buildSrc in cache key
2022-08-10 10:10:46 +02:00
Marko Zivic 9e9f60b996
Merge pull request #285 from schuenadel/suggest-clear-cache-after-dependency-update
Remove `restoreKeys` to clear cache after update
2022-07-15 09:21:07 +02:00
Dmitry Shibanov aa24fa78d2 regenerate dist 2022-06-24 16:18:43 +02:00
Evgenii Korolevskii 25d94e7786 add build 2022-06-24 16:05:43 +02:00
Evgenii Korolevskii 2fc49d780a remove old build 2022-06-24 16:03:07 +02:00
Evgenii Korolevskii a0500669b7 Merge branch 'main' into CacheVersionUpdateTo3 2022-06-24 15:42:06 +02:00
Evgenii Korolevskii d397c16c56 build(cache): Update cache tool version
Graceful handling of error (non-validation one)
2022-06-24 15:32:10 +02:00
Marko Zivic 2506d21b74
Merge pull request #332 from fmeriaux/sbt-exclude-some-files
sbt-cache: don't cache some files.
2022-06-15 11:20:20 +02:00
Florian Meriaux 48576e577e
npm run release 2022-06-15 08:19:27 +02:00
Florian Meriaux fa01820a3b
add documentation notes 2022-06-15 08:17:30 +02:00
Marko Zivic 62808131e1
Merge pull request #339 from starburstdata/pp/fix-arm64-architecture
Fix support for Zulu arm64 architecture
2022-06-10 09:44:45 +02:00
George Adams 11556068a2
msft: bump jdk17 to 17.0.3 and add aarch64 support to jdk11 2022-06-09 09:39:57 +01:00
Pawel Palucha 1c449b9ad2 Fix support for Zulu arm64 architecture
Azul API stopped to support arm64 architecture, the only supported
option for ARM cpus is now 'arm'. This requires to set up hw_bitness
properly to get 64 bits version. 32 bits version can be obtained by
using 'arm' as an architecture.
2022-06-07 22:24:33 +02:00
Florian Meriaux 3e3d8c490f
sbt-cache: don't cache some files. 2022-05-25 11:39:10 +02:00
AGulev 72dec17e4f index.js 2022-05-25 08:41:31 +02:00
Manuel bae3140877
Add Amazon Corretto distribution (#312) 2022-04-29 12:38:36 +02:00
Mario Schünadel fa0272551b Merge remote-tracking branch 'upstream/main' into suggest-clear-cache-after-dependency-update 2022-04-28 16:16:25 +02:00
Mario Schünadel 30cdb8c7dd upstream with main v3.2.0 2022-04-28 15:55:20 +02:00
Kengo TODA dd80852400
Housekeeping: Update zeit/ncc to vercel/ncc (#270) 2022-04-26 15:44:58 +02:00
Mario Schünadel 45b7b136cf only Versions.kt and Dependencies.kt as cache key 2022-04-25 13:40:12 +02:00