mirror of
https://github.com/actions/setup-java.git
synced 2026-08-25 16:00:54 +00:00
On Alpine, `getPlatformOption()` returned the glibc platform key for Dragonwell, Corretto, Zulu, Liberica and Liberica NIK, so the action resolved and installed a glibc JDK that cannot run under musl. Add a shared `isAlpineLinux()` helper and use it to select each vendor's musl artifacts: | distribution | glibc | musl | | ------------ | ------------- | -------------- | | Dragonwell | `linux` | `alpine-linux` | | Corretto | `linux` | `alpine` | | Zulu | `linux_glibc` | `linux_musl` | | Liberica | `linux` | `linux-musl` | | Liberica NIK | `linux` | `linux-musl` | Each key was verified against the vendor's live metadata API or manifest. There is deliberately no silent fallback to glibc when a vendor has no musl build for the requested version or architecture: the existing "could not find a version that satisfies" error fires instead. This matches the behaviour Temurin and SapMachine already have, and a glibc JDK would not run on musl anyway. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 74248bb0-72af-41d8-b85d-b0f5836e68db |
||
|---|---|---|
| .. | ||
| 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 | ||