Update Kotlin, KSP and Compose Compiler to v2 (major) #282
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Android App CI | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: [ '**.md', '**.MD' ] | |
pull_request: | |
branches: [ main ] | |
paths-ignore: [ '**.md', '**.MD' ] | |
workflow_dispatch: | |
env: | |
CI: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build Android App | |
run: ./gradlew :androidApp:assembleDebug --warning-mode all --stacktrace |