mirror of
https://github.com/actions/setup-java.git
synced 2024-11-15 06:28:04 +00:00
82fce8d395
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 |
||
---|---|---|
.. | ||
cache | ||
data | ||
distributors | ||
auth.test.ts | ||
cache.test.ts | ||
cleanup-java.test.ts | ||
gpg.test.ts | ||
toolchains.test.ts | ||
util.test.ts | ||
verify-java.sh |