Disable code shrinking for local Forgejo release CI builds.
Some checks failed
Forgejo Release Builder / release (push) Failing after 21m34s

Use -Pdisable-code-shrink to bypass R8/proguard in local fork CI where minification currently crashes the daemon.
This commit is contained in:
littlecodedragon 2026-04-27 17:56:57 +02:00
parent d6be3d1351
commit ab252123ae

View file

@ -111,7 +111,7 @@ jobs:
- name: Build app
run: |
GRADLE_OPTS="-Xmx2g -XX:MaxMetaspaceSize=768m -Dkotlin.daemon.enabled=false -Dkotlin.compiler.execution.strategy=in-process" \
./gradlew --no-daemon --max-workers=1 assembleRelease -Penable-updater
./gradlew --no-daemon --max-workers=1 assembleRelease -Penable-updater -Pdisable-code-shrink
- name: Run unit tests
run: |