setup-java/__tests__
Bruno Borges 85f658438e Address review: argc guard in check-dir.sh, fix sbt ubuntu matrix conditionals
- check-dir.sh: with set -u, invoking without a <dir> argument failed with an
  opaque "parameter not set" error. Add an explicit argc check that prints a
  usage message and exits 2 (distinct from the assertion failure code 1).
- e2e-cache.yml: the sbt-save and sbt-restore jobs run on an ubuntu-22.04
  matrix entry, but their coursier-cache steps were guarded by
  'if: matrix.os == "ubuntu-latest"', so those checks never executed on
  Ubuntu. Align the conditionals with the matrix (ubuntu-22.04), matching the
  newer sbt1/sbt2 jobs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-07-15 10:59:21 -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 dist: Support Liberica NIK (#878) (#1112) 2026-07-14 14:49:31 -04:00
auth.test.ts Use gpg.passphraseEnvName instead of the deprecated gpg.passphrase server (#1123) 2026-07-15 10:33:09 -04:00
cache.test.ts Cache Maven and Gradle wrapper distributions separately from the dependency cache (#1097) 2026-07-14 17:14:23 -04:00
check-dir.sh Address review: argc guard in check-dir.sh, fix sbt ubuntu matrix conditionals 2026-07-15 10:59:21 -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
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