setup-java/dist/setup
Nikolas Grottendieck e53962a2a4
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
2024-11-19 20:36:28 +01:00
..
index.js fix: Maven Toolchains grows unexpectedly 2024-11-19 20:36:28 +01:00