From 74d327a4273bdc6f6628a2d602e877ed703f793b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 26 Jan 2024 19:59:57 +0000 Subject: [PATCH] Upload CI-built release artifacts to enable better debugging --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08967e1e..296c19dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -399,6 +399,14 @@ jobs: ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-17-openjdk-amd64/include/ -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux/" false false - name: Build deterministic release jar run: ./build-release-jar.sh + - uses: actions/upload-artifact@v3 + with: + name: ldk-java.jar + path: ldk-java.jar + - uses: actions/upload-artifact@v3 + with: + name: ldk-java-leaktracking.jar + path: ldk-java-leaktracking.jar - name: Check latest library and jars are in bins repo run: | export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)" @@ -635,6 +643,10 @@ jobs: export ANDROID_TOOLCHAIN="$(pwd)/android-ndk-r22b/toolchains/llvm/prebuilt/linux-x86_64" export PATH="$PATH:$ANDROID_TOOLCHAIN/bin" ./android-build.sh ./rust-lightning ./ldk-c-bindings/ ./ldk-java-bins/android-artifacts + - uses: actions/upload-artifact@v3 + with: + name: LDK-release.aar + path: LDK-release.aar - name: Check latest library and jars are in bins repo run: | export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)" -- 2.39.5