From ee360753e4b0b3a827e2d337dfcc75f33c016ced Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sun, 14 May 2023 16:54:54 +0200 Subject: [PATCH] fix windows build --- .github/workflows/scripts/build_windows_amd64.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/build_windows_amd64.sh b/.github/workflows/scripts/build_windows_amd64.sh index 126f701..f35964c 100755 --- a/.github/workflows/scripts/build_windows_amd64.sh +++ b/.github/workflows/scripts/build_windows_amd64.sh @@ -9,10 +9,11 @@ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin # ccache CCACHE=$(which sccache || true) if [[ -x "$CCACHE" ]]; then + CCACHE="sccache" echo "found sccache: $CCACHE" else echo "sccache not found" - CCACHE=$(which ccache) + CCACHE="ccache" fi # Fix path @@ -82,5 +83,5 @@ cmake \ cmake --build . --target install --config Release --parallel "$(nproc)" cd .. mkdir -p src/main/resources/META-INF/tdlightjni/ -mv tdjni_bin/libtdjni.dll src/main/resources/META-INF/tdlightjni/libtdjni.linux_amd64_ssl3.dll +mv tdjni_bin/tdjni.dll src/main/resources/META-INF/tdlightjni/libtdjni.linux_amd64_ssl3.dll mvn -B -f pom.xml -Drevision="$REVISION" -Dnative.type.classifier=linux_amd64_ssl3 package