feat: update JDK and add Android SDK setup in CI workflows
All checks were successful
Build / build (pull_request) Successful in 4m54s

This commit updates the CI build and release workflows by making the following changes:
-   Updates the Java setup action to version 3.
-   Changes the JDK distribution to 'temurin'.
-   Adds a step to set up the Android SDK using `android-actions/setup-android@v3`.
These changes apply to both `build.yaml` and `release.yaml` files.
This commit is contained in:
Ben Martin 2025-01-21 00:35:49 +00:00
parent 25dd3ae7cb
commit b161684cae
Signed by: ben
GPG key ID: 859A655FCD290E4A
2 changed files with 10 additions and 4 deletions

View file

@ -15,10 +15,13 @@ jobs:
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Build with Gradle
run: ./gradlew composeApp:buildDebug

View file

@ -14,10 +14,13 @@ jobs:
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Build with Gradle
run: ./gradlew composeApp:buildDebug