Enable minify optimizations for release builds (#1437)

## Description
Enables minify & resource shrinking for release builds. This should
improve overall performance a bit. It also decreases the apk size by
~15%.

Also updates AGP

### Related issues
N/A

### Testing
Emulator, but needs more testing before a final release

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Damontecres 2026-05-23 14:08:38 -04:00 committed by GitHub
parent 086badf2e2
commit bfb49b80be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 27 additions and 21 deletions

View file

@ -75,6 +75,13 @@ jobs:
run: |
echo "SHA256 checksums:"
find app/build/outputs/apk -name '*.apk' -print0 | xargs -0 sha256sum
- name: Upload mapping files
uses: actions/upload-artifact@v7
with:
name: mapping
path: |
app/build/outputs/**/mapping.txt
compression-level: 6
- name: Delete ${{ env.TAG_NAME }} tag and release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -64,6 +64,13 @@ jobs:
path: |
app/build/outputs/bundle/**/*.aab
compression-level: 0
- name: Upload mapping files
uses: actions/upload-artifact@v7
with:
name: mapping
path: |
app/build/outputs/**/mapping.txt
compression-level: 6
- name: Create GitHub release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}