Add force-download option for reproducible JDK builds (#1148)

* Initial plan

* Add force-download input

* Build force-download action bundles

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Bruno Borges <brborges@microsoft.com>
This commit is contained in:
CopilotandBruno Borges authored and GitHub committed 2026-07-28 14:43:47 -04:00
1 parent e07d36bbdd
commit 089b010dc8
11 files changed
+90 -7

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ export class LocalDistribution extends JavaBase {
);
}
let foundJava = this.findInToolcache();
let foundJava = this.forceDownload ? null : this.findInToolcache();
if (foundJava) {
core.info(`Resolved Java ${foundJava.version} from tool-cache`);