export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(cat .git_ver)"
git clone https://git.bitcoin.ninja/ldk-java-bins
mkdir -p src/main/resources/
- cp "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/liblightningjni_MacOSX-*" src/main/resources/
+ cp "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/liblightningjni_MacOSX-"* src/main/resources/
- name: Build Java/TS Release Bindings
run: |
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(cat .git_ver)"
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(cat .git_ver)"
git clone https://git.bitcoin.ninja/ldk-java-bins
mkdir -p src/main/resources/
- cp "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/liblightningjni_Linux-*" src/main/resources/
+ cp "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/liblightningjni_Linux-"* src/main/resources/
- name: Build Java/TS Release Bindings
run: |
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(cat .git_ver)"
fi
if [ "$LDK_JAR_TARGET" = "true" ]; then
# Copy to JNI native directory for inclusion in JARs
+ mkdir -p src/main/resources/
cp liblightningjni_release$LDK_TARGET_SUFFIX.so src/main/resources/liblightningjni$LDK_TARGET_SUFFIX.nativelib
fi
fi