From c6e21b47307224b7cb774880b45ff5ff5196c2fb Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Wed, 26 Jun 2024 11:10:32 -0300 Subject: [PATCH] setup android signing --- .github/workflows/test-android.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test-android.yml b/.github/workflows/test-android.yml index 0a3fdbda78e3..80fe13ec207d 100644 --- a/.github/workflows/test-android.yml +++ b/.github/workflows/test-android.yml @@ -107,6 +107,14 @@ jobs: env: NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} + - name: setup Android signing + working-directory: ./examples/api/src-tauri/gen/android + run: | + echo "keyAlias=${{ secrets.ANDROID_KEY_ALIAS }}" > keystore.properties + echo "password=${{ secrets.ANDROID_KEY_PASSWORD }}" >> keystore.properties + base64 -d <<< "${{ secrets.ANDROID_KEY_BASE64 }}" > $RUNNER_TEMP/keystore.jks + echo "storeFile=$RUNNER_TEMP/keystore.jks" >> keystore.properties + - name: build APK working-directory: ./examples/api run: cargo tauri android build