From 2b4d1603e55bc0bf808fcdcd830786f4fcaa5159 Mon Sep 17 00:00:00 2001 From: linonetwo Date: Fri, 16 Feb 2024 18:59:44 +0800 Subject: [PATCH] Update build-f-droid-apk.yml --- .github/workflows/build-f-droid-apk.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-f-droid-apk.yml b/.github/workflows/build-f-droid-apk.yml index 389a98a..6b78712 100644 --- a/.github/workflows/build-f-droid-apk.yml +++ b/.github/workflows/build-f-droid-apk.yml @@ -101,7 +101,7 @@ jobs: ## sign generated apk (not signing aab, which will be signed by store) - name: Sign APK - id: sign_app + id: sign_app_apk uses: r0adkll/sign-android-release@v1 with: releaseDirectory: android/app/build/outputs/apk/release @@ -112,6 +112,18 @@ jobs: env: BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOLS_VERSION }} + - name: Sign APK + id: sign_app_aab + uses: r0adkll/sign-android-release@v1 + with: + releaseDirectory: android/app/build/outputs/bundle/release + signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }} + alias: ${{ secrets.ANDROID_ALIAS }} + keyStorePassword: ${{ secrets.ANDROID_KEY_STORE_PASSWORD }} + keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }} + env: + BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOLS_VERSION }} + - name: Create Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')