ci: gate-only build workflow; tag-push release workflow with debug-keystore signing
Build / build (push) Successful in 4m45s

This commit is contained in:
jay
2026-11-11 15:04:13 -05:00
parent 3459739b6f
commit 452f60bb07
3 changed files with 41 additions and 6 deletions
-6
View File
@@ -25,9 +25,3 @@ jobs:
- 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
+37
View File
@@ -0,0 +1,37 @@
name: Release
on:
push:
tags:
- "v*"
env:
ANDROID_HOME: /home/jay/Android/Sdk
jobs:
release:
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 release APK
run: ./gradlew app:packageRelease musikr:testDebug
- name: Stage APK
run: cp app/build/outputs/apk/release/app-release.apk "auxio-${GITHUB_REF_NAME}.apk"
- name: Create release
uses: https://gitea.com/actions/release-action@main
with:
files: auxio-${{ github.ref_name }}.apk
api_key: "${{ secrets.RELEASE_TOKEN }}"
title: "Auxio fork ${{ github.ref_name }}"
+4
View File
@@ -47,6 +47,10 @@ android {
}
release {
// Personal fork: CI releases are signed with the runner's persistent
// debug keystore so Obtainium can update in place. Replace with a
// real signing config if ever published outside personal use.
signingConfig signingConfigs.debug
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"