Skip to content

ci: Android Release도 JDK 17로 Gradle을 돌리게 고정한다 - #54

Merged
seongwon030 merged 1 commit into
mainfrom
seongwon030/ci-android-release-jdk17
Nov 21, 2026
Merged

seongwon030 merged 1 commit into
mainfrom
seongwon030/ci-android-release-jdk17

Conversation

@seongwon030

Copy link
Copy Markdown
Member

왜 필요한지

1.7.4 릴리즈(#53)가 prod에 머지된 뒤 Android Release가 실패했습니다 (run 44934643018).

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 69

#51과 같은 원인입니다. ubuntu-latest = ubuntu-26.04 러너의 기본 JDK(Java 25)로 fastlane의 ./gradlew bundleRelease가 돌았고, Gradle 8.14.3은 Java 24까지만 실행할 수 있습니다. #51에서 android-check.yml만 고치고 android-release.yml을 빠뜨렸습니다.

바꾼 것

#51과 같게 actions/setup-java@v4로 JDK 17(temurin)을 명시합니다. Gradle을 부르는 워크플로는 이 둘뿐입니다.

워크플로 Gradle 호출 JDK 17
android-check.yml ./gradlew :app:assembleDebug #51
android-release.yml fastlane ./gradlew bundleRelease 이 PR

검증

  • 같은 설정으로 ci: Android Check가 JDK 17로 Gradle을 돌리게 고정한다 #51·#50의 Android Check가 ubuntu-26.04에서 통과 (JDK 17.0.21+9, BUILD SUCCESSFUL)
  • 워크플로 YAML 파싱 확인, 스텝 순서: Checkout → Setup Node → Setup Java → Setup Ruby → … → Upload Android release
  • Android Release 자체는 prod push 또는 수동 실행에서만 돌아 이 PR에서 검증하지 못합니다. 브랜치에서 수동 실행하면 Play Console에 versionCode 21을 먼저 소모해 이후 prod 업로드가 막힐 수 있어 하지 않았습니다

머지 후

  1. main → prod로 이 수정을 반영
  2. prod push로 Android Release(production_draft)가 다시 돌아 1.7.4 / 21 업로드

🤖 Generated with Claude Code

#51에서 Android Check만 고치고 같은 원인을 가진 Android Release를 빠뜨렸다.
1.7.4 릴리즈(#53)가 prod에 머지되자 ubuntu-26.04 러너의 기본 JDK(Java 25)로
fastlane의 ./gradlew bundleRelease가 돌았고, Gradle 8.14.3이 빌드 스크립트
분석 단계에서 "Unsupported class file major version 69"로 실패했다.

#51과 같게 setup-java로 temurin 17을 명시한다. Gradle을 부르는 워크플로는
이 둘뿐이다(android-check.yml의 assembleDebug, android-release.yml의
fastlane bundleRelease).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 33 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b28594e4-e05a-494f-8adb-8cf4230b1fd4
Commits

Reviewing files that changed from the base of the PR and between 3aaacda and cb84248.

Files selected for processing: 1

  • .github/workflows/android-release.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@seongwon030
seongwon030 merged commit b7a27f0 into main Nov 21, 2026
2 checks passed
@seongwon030
seongwon030 deleted the seongwon030/ci-android-release-jdk17 branch November 21, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant