setup-java/__tests__
Guillaume Smet 33aba78939
Add set-default option
This option allows to install an additional JDK without making it the
default one.

I have wanted this for quite a long time as I'm running custom GitHub
Actions with Java, which might require a specific JDK and I don't want
to pollute the JDK that is used by the overall workflow calling the
action.
And I'm apparently not alone as there was a preexisting issue.

Fixes #560
2026-06-12 18:26:46 +02:00
..
cache feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
data feat: Add support for .sdkmanrc file in java-version-file parameter (#736) 2025-11-25 13:36:29 -06:00
distributors Add set-default option 2026-06-12 18:26:46 +02: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 Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05:00
cleanup-java.test.ts Refactor error handling and improve test logging for installers (#989) 2026-04-13 12:44:45 -05: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 XML namespaces wrongly using https 2023-06-28 11:24:07 +02:00
util.test.ts Implement pagination with link headers for Adoptium based apis (#1014) 2026-06-12 11:50:16 +01:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00