From 4b43a617d43c72997eaca1e8166dbc30b698beff Mon Sep 17 00:00:00 2001 From: The412Banner Date: Sat, 19 Sep 2026 14:20:07 -0400 Subject: [PATCH] Build the release variant so the apk carries v1 signing too AGP drops JAR signing from a debug build when minSdk is 24 or higher, whatever the signing config says, so the check added with the testkey failed on its first run. Nothing is minified in either variant; this only changes which one CI hands over. --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9511122cd..e6f4b82bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -133,8 +133,10 @@ jobs: restore-keys: | cxx-${{ env.NDK_VERSION }}- + # Release, not debug: AGP quietly drops v1 (JAR) signing from a debug build once minSdk is + # 24 or higher, and the apk has to carry all three schemes. Nothing is minified either way. - name: Build - run: ./gradlew assembleDebug -PndkVersion="$NDK_VERSION" + run: ./gradlew assembleRelease -PndkVersion="$NDK_VERSION" - name: Describe the apk run: | @@ -189,7 +191,7 @@ jobs: - uses: actions/upload-artifact@v4 with: name: steamdeck-apk - path: app/build/outputs/apk/debug/*.apk + path: app/build/outputs/apk/release/*.apk if-no-files-found: error retention-days: 30 # An apk is a zip already; compressing it again buys nothing and costs seconds.