28 lines
530 B
YAML
28 lines
530 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [dev]
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
ANDROID_HOME: /home/jay/Android/Sdk
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: angmar
|
|
steps:
|
|
- name: Checkout
|
|
uses: https://github.com/actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Set up JDK 21
|
|
uses: https://github.com/actions/setup-java@v4
|
|
with:
|
|
java-version: "21"
|
|
distribution: "jetbrains"
|
|
|
|
- name: Build debug APK
|
|
run: ./gradlew app:packageDebug musikr:testDebug
|