From 246138ac51bb5a238cdfb5d3f8259bd3021d3b3f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 00:26:54 +0000 Subject: [PATCH] Package shared libs from build tree Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 49af7ea26..849ed16e6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -75,12 +75,11 @@ jobs: fi done - # Add shared libraries needed for runtime - for f in *.so*; do - if [ -f "$f" ]; then - zip -uj eqemu-server-linux-x64.zip "$f" - fi - done + # Add shared libraries needed for runtime (from build/bin and build/libs) + find .. -type f -name "*.so*" \( -path "../bin/*" -o -path "../libs/*" \) -print0 | \ + while IFS= read -r -d '' lib; do + zip -uj eqemu-server-linux-x64.zip "$lib" + done # Verify zip file was created and contains files if [ ! -f eqemu-server-linux-x64.zip ]; then