Skip to content

Commit 965e021

Browse files
committed
ci: use Zulu JDK 8 for macOS release build (Temurin lacks aarch64 8u)
1 parent 523af40 commit 965e021

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/maven_central_release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,11 @@ jobs:
171171
- name: Set up Java 8
172172
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
173173
with:
174-
distribution: temurin
174+
# Temurin publishes no macOS/aarch64 8u, which fails the darwin-aarch64
175+
# (macos-14) leg; Zulu ships both macOS aarch64 and x64 8u. The macOS
176+
# jni_md.h is ABI-identical across vendors, so building the native lib
177+
# against Zulu's JDK 8 headers matches the artifact's Java 8 floor.
178+
distribution: zulu
175179
java-version: "8"
176180

177181
- name: Install toolchains

0 commit comments

Comments
 (0)