34 lines
727 B
YAML
34 lines
727 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
|
|
|
|
- name: Upload debug APK
|
|
uses: https://github.com/actions/upload-artifact@v4
|
|
with:
|
|
name: auxio-fork-debug
|
|
path: app/build/outputs/apk/debug/app-debug.apk
|