setup-java/dist/setup
Bruno Borges 2b61aea53d
Reuse the tool cache for floating versions the resolution cache identified (#1219)
A floating Oracle JDK or Oracle GraalVM request now skips the tool-cache
short-circuit entirely, so every job re-downloads and re-extracts the JDK
even when the exact bytes the mutable URL currently serves are already
installed locally.

The JDK resolution cache is keyed on the artifact's checksum (or, failing
that, its HTTP response fingerprint), so a hit proves which concrete
version the URL is serving right now. Once it has vouched for that
version, an existing tool-cache installation of exactly that version is
the artifact the download would have produced, and can be reused.

Reuse is therefore gated on the resolution cache hit, never on the
requested major: an unidentified floating artifact still downloads, as
does an explicit force-download.

Co-authored-by: Bruno Borges <brunoborges@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f2d9a891-a680-4b35-9644-cf2450f76f6d
2026-08-05 12:08:32 -04:00
..
19.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
63.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
81.index.js Import Maven signing keys into an isolated GPG home (#1214) 2026-08-05 12:05:36 -04:00
126.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
151.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
172.index.js Optimize Maven configuration warm path (#1182) 2026-07-30 15:09:35 -04:00
182.index.js Report concrete versions for floating Oracle JDK downloads (#1213) 2026-08-05 11:57:27 -04:00
220.index.js Import Maven signing keys into an isolated GPG home (#1214) 2026-08-05 12:05:36 -04:00
242.index.js Reuse the tool cache for floating versions the resolution cache identified (#1219) 2026-08-05 12:08:32 -04:00
282.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
348.index.js Report concrete versions for floating Oracle JDK downloads (#1213) 2026-08-05 11:57:27 -04:00
377.index.js Optimize Maven configuration warm path (#1182) 2026-07-30 15:09:35 -04:00
394.index.js Optimize Maven configuration warm path (#1182) 2026-07-30 15:09:35 -04:00
451.index.js Optimize Maven configuration warm path (#1182) 2026-07-30 15:09:35 -04:00
463.index.js Import Maven signing keys into an isolated GPG home (#1214) 2026-08-05 12:05:36 -04:00
524.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
557.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
675.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
735.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
767.index.js Optimize Maven configuration warm path (#1182) 2026-07-30 15:09:35 -04:00
779.index.js Add conditional JDK caching (#1201) 2026-08-04 21:54:10 -04:00
824.index.js Optimize Maven configuration warm path (#1182) 2026-07-30 15:09:35 -04:00
939.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
968.index.js Report concrete versions for floating Oracle JDK downloads (#1213) 2026-08-05 11:57:27 -04:00
971.index.js Add conditional JDK caching (#1201) 2026-08-04 21:54:10 -04:00
978.index.js Move the extracted JDK into the tool-cache and speed up extraction (#1206) 2026-08-04 23:05:06 -04:00
index.js Import Maven signing keys into an isolated GPG home (#1214) 2026-08-05 12:05:36 -04:00
package.json Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00