Skip to content

Commit

Permalink
zip
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyxu committed Jun 24, 2024
1 parent 9b4433f commit d7447a3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/java-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
mv ../target/release/liblance_jni.dylib ./liblance_jni_darwin_aarch64.dylib
- uses: actions/upload-artifact@v4
with:
name: liblance_jni_darwin_aarch64
name: liblance_jni_darwin_aarch64.zip
path: ./java/liblance_jni_darwin_aarch64.dylib
retention-days: 1
if-no-files-found: error
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
mv ../target/release/liblance_jni.so ./liblance_jni_linux_aarch64.so
- uses: actions/upload-artifact@v4
with:
name: liblance_jni_linux_aarch64
name: liblance_jni_linux_aarch64.zip
path: ./java/liblance_jni_linux_aarch64.so
retention-days: 1
if-no-files-found: error
Expand Down Expand Up @@ -98,7 +98,9 @@ jobs:
uses: actions/download-artifact@v4
- name: Copy native libs
run: |
ls ../ ./
unzip ../liblance_jni_linux_aarch64.zip
unzip ../liblanche_jni_dawin_aarch64.zip
ls ../ ./
cp ../liblance_jni_darwin_aarch64.dylib ./core/target/classes/nativelib/darwin-aarch64/liblance_jni.dylib
cp ../liblance_jni_linux_aarch64.so ./core/target/classes/nativelib/linux-aarch64/liblance_jni.so
- name: Build and publish with Java 8
Expand Down

0 comments on commit d7447a3

Please sign in to comment.