gh-152785: Upgrade Java from 17 to 21 in GHA Android (#152783)

Upgrade Java from 17 to 21 in GHA Android, and document the Java version 
requirement.
This commit is contained in:
Victor Stinner
2026-07-03 04:27:13 +02:00
committed by GitHub
parent 31864bd9a6
commit 0a13efc3fb
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ jobs:
with:
persist-credentials: false
- name: Build and test
run: python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
run: JAVA_HOME="${JAVA_HOME_21_X64:-$JAVA_HOME_21_arm64}" python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
build-ios:
name: iOS
+2 -1
View File
@@ -30,7 +30,8 @@ any packages it needs.
The script also requires the following commands to be on the `PATH`:
* `curl`
* `java` (or set the `JAVA_HOME` environment variable)
* `java` (or set the `JAVA_HOME` environment variable).
Java versions 17 and 21 are supported.
## Building