setup-java/__tests__
Julien Dubois 634b0f0d18
Import Maven signing keys into an isolated GPG home (#1214)
* Isolate Maven signing keys

Import signing keys into an action-owned temporary GPG home, export GNUPGHOME, and remove the owned directory in the post action. Cover import failure, multiple keys and invocations, unrelated keyrings, missing state, and Windows path conversion.

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

* Fix cleanup state assertion

Account for isolated GPG-home cleanup when cache saving is disabled.

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

* Update generated action bundles

Apply repository formatting and commit the setup and cleanup bundles produced by the validated Node 24 build.

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

* Address isolated GPG home review feedback

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

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Bruno Borges <brborges@microsoft.com>
2026-08-05 12:05:36 -04:00
..
cache Restore dependency and wrapper caches concurrently (#1174) 2026-07-29 13:41:24 -04:00
data Remove legacy Adopt distributions in v6 (#1185) 2026-07-31 15:48:18 -04:00
distributors Import Maven signing keys into an isolated GPG home (#1214) 2026-08-05 12:05:36 -04:00
auth.test.ts Import Maven signing keys into an isolated GPG home (#1214) 2026-08-05 12:05:36 -04:00
benchmark-cache-restore.sh Restore dependency and wrapper caches concurrently (#1174) 2026-07-29 13:41:24 -04:00
cache-feature.test.ts Optimize Temurin tool-cache fast path with lazy loading (#1179) 2026-07-29 17:53:33 -04:00
cache.test.ts Add dependency cache path overrides (#1175) 2026-07-29 14:43:55 -04:00
check-dir.sh Extract repeated directory-check assertions into check-dir.sh helper (#1127) 2026-07-15 11:14:40 -04:00
checksum.test.ts Verify JDK downloads with vendor checksums (#1167) 2026-07-29 04:43:56 -04:00
cleanup-java.test.ts Import Maven signing keys into an isolated GPG home (#1214) 2026-08-05 12:05:36 -04:00
gpg.test.ts Import Maven signing keys into an isolated GPG home (#1214) 2026-08-05 12:05:36 -04:00
java-package-contract.test.ts chore(deps): bump brace-expansion from 5.0.8 to 5.0.9 (#1202) 2026-08-04 21:15:15 -04:00
java-platform-contract.test.ts Remove legacy Adopt distributions in v6 (#1185) 2026-07-31 15:48:18 -04:00
jdk-cache.test.ts Add conditional JDK caching (#1201) 2026-08-04 21:54:10 -04:00
jdk-resolution-cache.test.ts Report concrete versions for floating Oracle JDK downloads (#1213) 2026-08-05 11:57:27 -04:00
maven-args.test.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
maven-xml-loading.test.ts Optimize Maven configuration warm path (#1182) 2026-07-30 15:09:35 -04:00
problem-matcher.test.ts Add an option to disable Java problem matchers (#1133) 2026-07-16 11:28:10 -04:00
retrying-http-client.test.ts Consolidate JDK metadata retry handling (#1162) 2026-07-29 00:09:37 -04:00
setup-java.module-loading.test.ts Add conditional JDK caching (#1201) 2026-08-04 21:54:10 -04:00
setup-java.test.ts Add conditional JDK caching (#1201) 2026-08-04 21:54:10 -04:00
toolchains.test.ts Optimize Maven configuration warm path (#1182) 2026-07-30 15:09:35 -04:00
util-install.test.ts Report concrete versions for floating Oracle JDK downloads (#1213) 2026-08-05 11:57:27 -04:00
util.test.ts Add conditional JDK caching (#1201) 2026-08-04 21:54:10 -04:00
verify-java.sh Report concrete versions for floating Oracle JDK downloads (#1213) 2026-08-05 11:57:27 -04:00