Skip to content

chore(deps): update plugin com.android.application to v8.13.0 #444

chore(deps): update plugin com.android.application to v8.13.0

chore(deps): update plugin com.android.application to v8.13.0 #444

name: 🚀 Android CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- dev
branch_protection_rule:
types: [created]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout Source Code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/cache@638ed79f9dc94c1de1baef91bcab5edaa19451f4 # v4.2.3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
- name: 🛠️ Setup Android-OpenCV-SDK
run: ./setupOpenCV_4x.sh
- name: ☕ Set up JDK 17
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
distribution: temurin
java-version: 17.X
- name: 🧹 Run Android Lint
run: ./gradlew lint
- name: 🐞 Debug Build
run: ./gradlew assembleDebug
- name: 🚀 Release Build
run: ./gradlew build --no-daemon --console=plain
- name: 📤 Upload Debug APK
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: debug apk
path: app/build/outputs/apk/debug/app-debug.apk