Skip to content

fix: correct ViewModel package declarations after refactoring #31

fix: correct ViewModel package declarations after refactoring

fix: correct ViewModel package declarations after refactoring #31

Workflow file for this run

name: Build
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
build-android:
name: Lint, Test, and Build Debug APK
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Setup JDK 17
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run lint
run: ./gradlew lintDebug --no-daemon
- name: Run unit tests
run: ./gradlew testDebugUnitTest --no-daemon
- name: Build debug APK
run: ./gradlew assembleDebug --no-daemon
- name: Upload debug APK
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: AppControlX-debug
path: app/build/outputs/apk/debug/*.apk
if-no-files-found: error
retention-days: 7