github: fix android build
This commit is contained in:
parent
36168442a9
commit
0c1e279215
1 changed files with 7 additions and 2 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue