setup-java/__tests__
Nikolas Grottendieck d82312064b
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
2025-08-14 10:23:36 +02:00
..
cache feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
data Fix: prevent default installation of JetBrains pre-releases (#859) 2025-07-03 12:03:51 -05:00
distributors Fix: prevent default installation of JetBrains pre-releases (#859) 2025-07-03 12:03:51 -05:00
auth.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
cache.test.ts feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
cleanup-java.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
gpg.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
toolchains.test.ts fix: Maven Toolchains grows unexpectedly 2025-08-14 10:23:36 +02:00
util.test.ts Refine isGhes logic (#697) 2024-10-21 19:57:52 +02:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00