feat: update Android client binary staging to use JNI library format

This commit is contained in:
Sarto
2026-03-31 19:29:08 +03:30
parent 4e9019d43f
commit 2d38441ee2
2 changed files with 19 additions and 60 deletions
+5 -4
View File
@@ -104,12 +104,13 @@ jobs:
path: artifacts
merge-multiple: true
- name: Stage Android client binary into assets
- name: Stage Android client binary as JNI library
run: |
test -f artifacts/thefeed-client-android-arm64
mkdir -p android/app/src/main/assets
cp artifacts/thefeed-client-android-arm64 android/app/src/main/assets/thefeed-client-arm64
chmod +x android/app/src/main/assets/thefeed-client-arm64
# Package binary as .so in jniLibs so the installer places it in
# nativeLibraryDir the only Android-permitted exec location (W^X policy).
mkdir -p android/app/src/main/jniLibs/arm64-v8a
cp artifacts/thefeed-client-android-arm64 android/app/src/main/jniLibs/arm64-v8a/libthefeed.so
- name: Decode signing keystore
if: env.KEYSTORE_BASE64 != ''