setup-java/dist
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
..
cleanup Add versions properties to cache (#280) 2023-07-21 13:38:46 +02:00
setup fix: Maven Toolchains grows unexpectedly 2023-09-20 00:21:55 +02:00