blob: e80e2d2d375bd5e2c991e320c2af18059f5977e7 [file] [log] [blame]
name: Build APK
on:
push:
branches: ["master"]
workflow_dispatch:
concurrency:
group: "build"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3.9.0
with:
java-version: 11
distribution: adopt
- name: Gradle Build Action
run: ./gradlew :app:assembleDebug
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: app-debug.apk
path: app/build/outputs/apk/debug/app-debug.apk