ci: replace github workflows with a gitea actions build (host runner, debug APK + musikr tests)
Build / build (push) Failing after 2m19s
Build / build (push) Failing after 2m19s
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
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
|
||||
Reference in New Issue
Block a user