From 0c1e279215c10652a2f7f7b6c3ca5edce0c544bd Mon Sep 17 00:00:00 2001 From: Ardocrat Date: Sun, 4 Aug 2024 09:30:00 +0000 Subject: [PATCH] github: fix android build --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68cc336..f199f0b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,12 @@ jobs: rustup target add aarch64-linux-android rustup target add armv7-linux-androideabi rustup target add x86_64-linux-android + - name: Setup Java build + run: | + chmod +x android/gradlew + echo "${{ secrets.ANDROID_RELEASE_KEYSTORE }}" > release.keystore.asc + gpg -d --passphrase "${{ secrets.ANDROID_RELEASE_SECRET }}" --batch release.keystore.asc > android/keystore + echo -e "storePassword=${{ secrets.ANDROID_PASS }}\nkeyPassword=${{ secrets.ANDROID_PASS }}\nkeyAlias=grim\nstoreFile=../keystore" > android/keystore.properties - name: Build lib 1/2 continue-on-error: true run: | @@ -31,8 +37,7 @@ jobs: - name: Build APK working-directory: android run: | - chmod +x gradlew - ./gradlew assembleDebug + ./gradlew assembleRelease linux: name: Linux Build