setup-java/__tests__
Bruno Borges 382d4b753d
Fix caching when wrapper distributions are absent (#1151)
* Fix missing wrapper cache distributions

Skip optional Maven and Gradle wrapper cache saves when their distribution paths do not exist, while allowing the main dependency cache to save.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a43181c5-548d-4293-be58-b76c03cece79

* Use resolved paths for wrapper cache saves

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a43181c5-548d-4293-be58-b76c03cece79

* Rebuild action distributions

Regenerate the setup and cleanup bundles after updating additional cache saves to use resolved paths.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a43181c5-548d-4293-be58-b76c03cece79

---------

Copilot-Session: a43181c5-548d-4293-be58-b76c03cece79
2026-07-28 19:14:06 -04:00
..
cache Consolidate cache-dependency-path e2e workflow and add maven/sbt coverage (#1124) 2026-07-15 10:28:27 -04:00
data dist: Support Liberica NIK (#878) (#1112) 2026-07-14 14:49:31 -04:00
distributors Support Temurin JDKs with JMOD files (#1149) 2026-07-28 18:39:15 -04:00
auth.test.ts Clarify credential environment variable inputs (#1134) 2026-07-17 20:10:58 -04:00
cache.test.ts Fix caching when wrapper distributions are absent (#1151) 2026-07-28 19:14:06 -04:00
check-dir.sh Extract repeated directory-check assertions into check-dir.sh helper (#1127) 2026-07-15 11:14:40 -04:00
cleanup-java.test.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
gpg.test.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
maven-args.test.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
problem-matcher.test.ts Add an option to disable Java problem matchers (#1133) 2026-07-16 11:28:10 -04:00
toolchains.test.ts Preserve Maven toolchains across repeated setup-java runs (#1099) (#1111) 2026-07-14 07:54:11 -04:00
util.test.ts Support pinning java-version as "latest" (#1093) 2026-07-09 20:11:03 -04:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00