diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 3eb02f1e..e5b029df 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -52,14 +52,11 @@ jobs: echo ${{ secrets.KEYSTORE_BASE64 }} | base64 --decode > ./my-release-key.jks - name: Sign apk run: | - echo ${{ secrets.KEYSTORE_BASE64 }} - echo ${{ secrets.KEY_ALIAS }} jarsigner -verbose -keystore ./my-release-key.jks -storepass ${{ secrets.KEYSTORE_PASSWORD }} -keypass ${{ secrets.KEY_PASSWORD }} ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk "${{ secrets.KEY_ALIAS }}" - name: Align apk run: | - ls ${ANDROID_HOME}/build-tools - ${ANDROID_HOME}/build-tools/30.0.3/zipalign -v 4 ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-release-unsigned.apk ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-release.apk + ${ANDROID_HOME}/build-tools/30.0.3/zipalign -v 4 ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-release.apk - uses: actions/upload-artifact@v2 with: name: release