Skip to content

Commit

Permalink
fix up the logic
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jun 26, 2024
1 parent 53267f6 commit 6c731ca
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/release-kotlin-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,10 @@ jobs:
retention-days: 1

- name: Prepare JNI libs
working-directory: bindings_ffi
run: |
LIBRARY_NAME="libxmtpv3"
TARGET_NAME="libuniffi_xmtpv3"
cd bindings_ffi
rm -rf jniLibs/
mkdir -p jniLibs/armeabi-v7a/ && \
cp target/armv7-linux-androideabi/release/$LIBRARY_NAME.so jniLibs/armeabi-v7a/$TARGET_NAME.so && \
mkdir -p jniLibs/x86/ && \
cp target/i686-linux-android/release/$LIBRARY_NAME.so jniLibs/x86/$TARGET_NAME.so && \
mkdir -p jniLibs/x86_64/ && \
cp target/x86_64-linux-android/release/$LIBRARY_NAME.so jniLibs/x86_64/$TARGET_NAME.so && \
mkdir -p jniLibs/arm64-v8a/ && \
cp target/aarch64-linux-android/release/$LIBRARY_NAME.so jniLibs/arm64-v8a/$TARGET_NAME.so
mkdir -p jniLibs/${{ matrix.output_target }}/ && \
cp target/${{ matrix.target }}/release/libxmtpv3.so jniLibs/${{ matrix.output_target }}/libuniffi_xmtpv3.so && \
package-kotlin:
needs: [build-linux]
Expand Down

0 comments on commit 6c731ca

Please sign in to comment.