workflows: Add support for bundle builds
All checks were successful
/ build-debug (push) Successful in 4m33s

This commit is contained in:
Peter Cai 2024-04-21 15:59:25 -04:00
parent 0518c3efd3
commit 5d73d4b17d
2 changed files with 10 additions and 0 deletions

View file

@ -35,6 +35,9 @@ jobs:
- name: Build Debug APKs
run: ./gradlew --no-daemon :app-unpriv:assembleJmpDebug
- name: Build Debug Bundle
run: ./gradlew --no-daemon :app-unpriv:bundleJmpDebug
- name: Upload Artifacts
uses: https://gitea.angry.im/actions/upload-artifact@v3
with:
@ -42,3 +45,4 @@ jobs:
compression-level: 0
path: |
app-unpriv/build/outputs/apk/jmp/debug/app-unpriv-jmp-debug.apk
app-unpriv/build/outputs/bundle/jmpDebug/app-unpriv-jmp-debug.aab

View file

@ -34,9 +34,15 @@ jobs:
- name: Build Release APK
run: ./gradlew --no-daemon :app-unpriv:assembleJmpRelease
- name: Build Release Bundle
run: ./gradlew --no-daemon :app-unpriv:bundleJmpRelease
- name: Copy Debug Symbols to Release Path
run: cp app-unpriv/build/outputs/native-debug-symbols/jmpRelease/native-debug-symbols.zip app-unpriv/build/outputs/apk/jmp/release/
- name: Copy Bundle to Release Path
run: cp app-unpriv/build/outputs/bundle/jmpRelease/app-unpriv-jmp-release.aab app-unpriv/build/outputs/apk/jmp/release/
- name: Create Release
uses: https://gitea.angry.im/actions/forgejo-release@v1
with: