fix(ci): add a release build job to CI

I've broken R8 minification enough times for this to not be checked
This commit is contained in:
Harsh Shandilya
2026-01-02 21:11:21 +05:30
parent 625064f1fa
commit 7efb206c68
+20
View File
@@ -60,3 +60,23 @@ jobs:
with:
base-ref: refs/heads/main
head-ref: ${{ github.ref }}
release-app:
runs-on: macos-15
if: "github.event_name == 'push' && github.event.ref == 'refs/heads/main'"
needs:
- check
steps:
- name: Setup build environment
uses: msfjarvis/compose-lobsters/.github/reusable-workflows/setup-gradle@main
with:
cache-read-only: true
- name: Build release app
run: |
./scripts/setup-age.sh
./scripts/signing-setup.sh "$AGE_SECRET_KEY"
./gradlew --no-configuration-cache --stacktrace assembleRelease collectReleaseBundle
./scripts/signing-cleanup.sh
env:
AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }}