Skip to content

Commit

Permalink
chore: build aab
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Feb 16, 2024
1 parent 865a33c commit 690c49f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-f-droid-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,16 @@ jobs:
# - name: Remove prorietary bits (for fix f-droid)
# run: npx zx scripts/fit-f-droid.mjs

- name: Build apk
- name: Build apk & aab
run: |
cd android
cat /home/runner/work/TidGi-Mobile/TidGi-Mobile/android/app/src/main/java/ren/onetwo/tidgi/mobile/MainActivity.kt
./gradlew clean
./gradlew -v
./gradlew assembleRelease --no-daemon --warning-mode all
./gradlew bundleRelease --no-daemon --warning-mode all
## sign generated apk
## sign generated apk (not signing aab, which will be signed by store)
- name: Sign APK
id: sign_app
uses: r0adkll/sign-android-release@v1
Expand All @@ -117,6 +118,8 @@ jobs:
with:
draft: true
generate_release_notes: true
files: android/app/build/outputs/apk/release/*
files: |
android/app/build/outputs/apk/release/app-release-signed.apk
android/app/build/outputs/bundle/release/app-release.aab
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 690c49f

Please sign in to comment.