Increase JVM memory for gradle builds (#236)

Updates to increase amount of memory available during CI builds. I think
this will help with the intermittent `A failure occurred while executing
"com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable`
CI errors.

No user facing changes
This commit is contained in:
damontecres 2025-11-16 19:44:39 -05:00 committed by GitHub
parent 6be2662d4e
commit e3d94ad819
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View file

@ -16,6 +16,7 @@ concurrency:
env:
BRANCH_NAME: ${{ github.ref_name }}
GRADLE_OPTS: "-Dorg.gradle.jvmargs='-Xmx4g -XX:MaxMetaspaceSize=512m'"
jobs:
build:
@ -55,7 +56,7 @@ jobs:
KEY_STORE_PASSWORD: "${{ secrets.KEY_STORE_PASSWORD }}"
SIGNING_KEY: "${{ secrets.SIGNING_KEY }}"
run: |
./gradlew clean assembleRelease assembleDebug
./gradlew clean assembleRelease assembleDebug --no-daemon
- name: Verify signatures
run: |
echo "Verify APK signatures"