Skip to content

Commit c609d33

Browse files
browstudio
andauthored
ci: pin JDK 17 for the Android lane (block#8711)
`ubuntu-latest` now resolves to Ubuntu 26.04, whose default JDK is 25. Gradle 8.14.5 doesn't support JDK 25, so every Android CI build fails at project configuration ("Gradle build failed due to Java/Gradle incompatibility"). This breaks main and every open mobile PR. The last green Android run (18:09Z today) was on the 24.04 image, which defaults to JDK 17. This pins Temurin JDK 17 with `actions/setup-java` (SHA-pinned to v6.1.0) for the Android lane only. Other lanes are unchanged. ### Validation - The pinned `actions/setup-java` SHA matches the upstream `v6.1.0` tag. - This PR's own Android lane is the end-to-end check. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Tom Brow <[email protected]> Co-authored-by: Tom Brow <[email protected]> Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@buzz.block.builderlab.xyz>
1 parent 1fe1201 commit c609d33

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/_ci-clients.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,14 @@ jobs:
160160
- name: Test mobile recipe argument forwarding
161161
if: matrix.lane == 'checks'
162162
run: /bin/bash scripts/test-mobile-gateway-recipes.sh
163+
# ubuntu-latest (26.04) defaults to JDK 25, which Gradle 8.14 does not
164+
# support. Pin the JDK 17 the 24.04 image used.
165+
- name: Set up JDK 17
166+
if: matrix.lane == 'android'
167+
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
168+
with:
169+
distribution: temurin
170+
java-version: "17"
163171
- name: Restore Gradle cache
164172
if: matrix.lane == 'android'
165173
uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5

0 commit comments

Comments
 (0)