mirror of
https://github.com/actions/setup-java.git
synced 2026-08-25 16:00:54 +00:00
* Handle cache restore promise rejections Validate dependency cache providers before Java installation and settle cache restore failures immediately while preserving setup error precedence. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Make cache-rejection regression test deterministic Reject the cache restore only after it has started and while the Java installation is still pending, instead of relying on event-loop timing. Verified the test fails against the pre-fix implementation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Validate cache input after required input checks Move the package-manager validation out of the top of run() so that missing java-version/java-version-file and toolchain id errors keep their original precedence. Validation now happens immediately before the cache restore is started, which still fails fast before any JDK download. 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> |
||
|---|---|---|
| .. | ||
| 19.index.js | ||
| 63.index.js | ||
| 81.index.js | ||
| 126.index.js | ||
| 151.index.js | ||
| 172.index.js | ||
| 182.index.js | ||
| 220.index.js | ||
| 242.index.js | ||
| 282.index.js | ||
| 348.index.js | ||
| 377.index.js | ||
| 394.index.js | ||
| 451.index.js | ||
| 463.index.js | ||
| 524.index.js | ||
| 557.index.js | ||
| 675.index.js | ||
| 735.index.js | ||
| 767.index.js | ||
| 779.index.js | ||
| 824.index.js | ||
| 939.index.js | ||
| 968.index.js | ||
| 971.index.js | ||
| 978.index.js | ||
| index.js | ||
| package.json | ||