Skip to content

ci: Create android.yml #1

ci: Create android.yml

ci: Create android.yml #1

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Temurin JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew assembleDebug
- name: Upload output
- uses: actions/upload-artifact@v4
with:
name: 'output'
path: app/build/outputs/apk/app-debug.apk
if-no-files-found: error
retention-days: 30