Skip to content

Commit

Permalink
switch when jni lib was happening
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jun 26, 2024
1 parent 3918110 commit 6734333
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-kotlin-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ jobs:
command: build
args: --release --target ${{ matrix.target }} --manifest-path bindings_ffi/Cargo.toml --target-dir bindings_ffi/target

- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}
path: bindings_ffi/target/${{ matrix.target }}/release/libxmtpv3.so
retention-days: 1

- name: Prepare JNI libs
run: |
mkdir -p bindings_ffi/jniLibs/${{ matrix.output_target }}/ && \
cp bindings_ffi/target/${{ matrix.target }}/release/libxmtpv3.so bindings_ffi/jniLibs/${{ matrix.output_target }}/libuniffi_xmtpv3.so && \
ls bindings_ffi/jniLibs
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.output_target }}
path: bindings_ffi/jniLibs/${{ matrix.output_target }}/libuniffi_xmtpv3.so
retention-days: 1

package-kotlin:
needs: [build-linux]
Expand Down

0 comments on commit 6734333

Please sign in to comment.