25 lines
574 B
YAML
25 lines
574 B
YAML
name: Build Android app
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Build
|
|
runs-on: macOS-latest
|
|
# Only run build in template repo
|
|
if: github.event.repository.name == 'KMP-App-Template-Native' && github.repository_owner == 'Kotlin'
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: 21
|
|
- name: Android debug build
|
|
run: ./gradlew assembleDebug --stacktrace
|