feat: update JDK and add Android SDK setup in CI workflows
All checks were successful
Build / build (pull_request) Successful in 4m54s
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:
parent
25dd3ae7cb
commit
b161684cae
2 changed files with 10 additions and 4 deletions
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
|
@ -15,10 +15,13 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
|
||||||
|
- name: Setup Android SDK
|
||||||
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew composeApp:buildDebug
|
run: ./gradlew composeApp:buildDebug
|
||||||
|
|
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
@ -14,10 +14,13 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
|
||||||
|
- name: Setup Android SDK
|
||||||
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew composeApp:buildDebug
|
run: ./gradlew composeApp:buildDebug
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue