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.
35 lines
703 B
YAML
35 lines
703 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
|
|
- name: Setup Android SDK
|
|
uses: android-actions/setup-android@v3
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew composeApp:buildDebug
|
|
|
|
- name: Gradle Release
|
|
run: ./gradlew composeApp:debug
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: app
|
|
path: composeApp/build/outputs/apk/debug/*.apk
|