Test building aab

This commit is contained in:
Damontecres 2025-12-14 18:49:21 -05:00
parent 3e2a1869ab
commit 1247ff46fb
No known key found for this signature in database
2 changed files with 54 additions and 2 deletions

View file

@ -43,8 +43,8 @@ jobs:
- name: Build app
id: buildapp
run: |
./gradlew clean assembleDebug testDebugUnitTest --no-daemon
apks=$(find app/build/outputs/apk -name '*.apk' -print0 | tr '\0' ',' | sed 's/,$//')
./gradlew clean assembleDebug bundleDebug testDebugUnitTest --no-daemon
apks=$(find app/build/outputs/ -name '*.apk' -or -name '*.aab' -print0 | tr '\0' ',' | sed 's/,$//')
echo "apks=$apks" >> "$GITHUB_OUTPUT"
- name: Tar build dirs
run: |
@ -60,3 +60,15 @@ jobs:
name: APKs
path: "${{ steps.buildapp.outputs.apks }}"
compression-level: 0
test-patch:
runs-on: ubuntu-latest
needs: pre-commit
steps:
- name: Checkout the code
uses: actions/checkout@v5
with:
fetch-depth: 1
- name: Test applying patch
run: |
git apply app/src/patches/play_store.patch