fix: build Rust native libs in CI (jniLibs is gitignored)
All checks were successful
Release APK / build (push) Successful in 6m33s
All checks were successful
Release APK / build (push) Successful in 6m33s
This commit is contained in:
parent
f03bdef490
commit
19805e4d4d
2 changed files with 14 additions and 0 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -26,6 +26,13 @@ jobs:
|
|||
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > android/app/kirakira-release.jks
|
||||
echo "KEYSTORE_PATH=$GITHUB_WORKSPACE/android/app/kirakira-release.jks" >> $GITHUB_ENV
|
||||
|
||||
# jniLibs/ is gitignored, so a fresh clone has no Rust .so files. Without
|
||||
# this the APK builds fine and then crashes on the first FFI call.
|
||||
- name: Build Rust native libraries
|
||||
run: |
|
||||
env -u GITHUB_TOKEN -u GH_TOKEN -u JAVA_HOME \
|
||||
devbox run build-native-android
|
||||
|
||||
- name: Build release APK
|
||||
env:
|
||||
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue