From cc3846710d027494f686187f593b745e827c295d Mon Sep 17 00:00:00 2001 From: linonetwo Date: Fri, 16 Feb 2024 19:44:00 +0800 Subject: [PATCH] Update build-f-droid-apk.yml --- .github/workflows/build-f-droid-apk.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-f-droid-apk.yml b/.github/workflows/build-f-droid-apk.yml index 6b78712..e0b0696 100644 --- a/.github/workflows/build-f-droid-apk.yml +++ b/.github/workflows/build-f-droid-apk.yml @@ -90,16 +90,13 @@ jobs: # - name: Remove prorietary bits (for fix f-droid) # run: npx zx scripts/fit-f-droid.mjs - - name: Build apk & aab + - name: Build APK 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 (not signing aab, which will be signed by store) + ## sign generated apk - name: Sign APK id: sign_app_apk uses: r0adkll/sign-android-release@v1 @@ -112,7 +109,13 @@ jobs: env: BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOLS_VERSION }} - - name: Sign APK + - name: Build AAB + run: | + cd android + ./gradlew clean + ./gradlew bundleRelease --no-daemon --warning-mode all + + - name: Sign AAB id: sign_app_aab uses: r0adkll/sign-android-release@v1 with: