Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the java version to version 17 #83515

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

m4gr3d
Copy link
Contributor

@m4gr3d m4gr3d commented Oct 17, 2023

@m4gr3d m4gr3d added platform:android topic:buildsystem cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Oct 17, 2023
@m4gr3d m4gr3d added this to the 4.2 milestone Oct 17, 2023
@m4gr3d m4gr3d requested a review from a team as a code owner October 17, 2023 18:04
@m4gr3d
Copy link
Contributor Author

m4gr3d commented Oct 17, 2023

Looks like we need to update the CI to Java 17 as well for the checks to pass.

@akien-mga
Copy link
Member

The CI build seems to fail.

@m4gr3d
Copy link
Contributor Author

m4gr3d commented Oct 17, 2023

The CI build seems to fail.

Yeah, it needs to be updated to Java 17 as well

@akien-mga
Copy link
Member

You could try this:

diff --git a/.github/workflows/android_builds.yml b/.github/workflows/android_builds.yml
index ea97ef023d..495f643e56 100644
--- a/.github/workflows/android_builds.yml
+++ b/.github/workflows/android_builds.yml
@@ -20,11 +20,11 @@ jobs:
     steps:
       - uses: actions/checkout@v4
 
-      - name: Set up Java 11
+      - name: Set up Java 17
         uses: actions/setup-java@v3
         with:
           distribution: temurin
-          java-version: 11
+          java-version: 17
 
       - name: Setup Godot build cache
         uses: ./.github/actions/godot-cache

@m4gr3d m4gr3d requested a review from a team as a code owner October 17, 2023 22:08
@akien-mga akien-mga merged commit 6ee666c into godotengine:master Oct 18, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@m4gr3d m4gr3d deleted the bump_java_version_main branch October 18, 2023 15:13
@akien-mga
Copy link
Member

Included in #87588.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants