github: fix android build

This commit is contained in:
Ardocrat 2024-08-04 09:30:00 +00:00 committed by GitHub
parent 36168442a9
commit 0c1e279215
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,12 @@ jobs:
rustup target add aarch64-linux-android rustup target add aarch64-linux-android
rustup target add armv7-linux-androideabi rustup target add armv7-linux-androideabi
rustup target add x86_64-linux-android 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 - name: Build lib 1/2
continue-on-error: true continue-on-error: true
run: | run: |
@ -31,8 +37,7 @@ jobs:
- name: Build APK - name: Build APK
working-directory: android working-directory: android
run: | run: |
chmod +x gradlew ./gradlew assembleRelease
./gradlew assembleDebug
linux: linux:
name: Linux Build name: Linux Build