Krolyxon
Commit c2b9d4b

Branches

Refs →

budctlc2b9d4b

Release workflow: build the APK without testReleaseUnitTest

The v0.1.4 run failed: AGP 9 makes unit-test tasks for the debug build
only, so testReleaseUnitTest does not exist. The app's JVM tests run in
CI on every commit (testDebugUnitTest); the release job now builds the
APK and checks its signature. Nothing was published.
Author
krolyxon
Date
2026-11-02 09:12 +0530
Parent
24133e0
Commit
c2b9d4b06496ef7919fa1c8cbfb5c6a40154a9a6

+4 −2

1 file changed

  1. M .github/workflows/release.yml +4 −2
M .github/workflows/release.yml View
@@ -71,13 +71,15 @@ jobs:
7171 run: |
7272 test -n "$KEYSTORE" || { echo "the BUDCTL_KEYSTORE_BASE64 secret is not set"; exit 1; }
7373 echo "$KEYSTORE" | base64 -d > "$RUNNER_TEMP/budctl-release.jks"
74− - name: Build, test and check the APK
74+ # The app's JVM tests run in CI (testDebugUnitTest): AGP makes unit-test tasks for the debug
75+ # build only.
76+ - name: Build and check the APK
7577 working-directory: android
7678 env:
7779 BUDCTL_KEYSTORE: ${{ runner.temp }}/budctl-release.jks
7880 BUDCTL_KEYSTORE_PASSWORD: ${{ secrets.BUDCTL_KEYSTORE_PASSWORD }}
7981 run: |
80− ./gradlew --no-daemon testReleaseUnitTest assembleRelease
82+ ./gradlew --no-daemon assembleRelease
8183 "$ANDROID_HOME/build-tools/36.0.0/apksigner" verify --print-certs app/build/outputs/apk/release/app-release.apk
8284 - name: Package
8385 run: |