mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 12:42:26 +00:00
Guard shared lib packaging
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
56266f6f21
commit
2b60bda5b7
15
.github/workflows/release.yaml
vendored
15
.github/workflows/release.yaml
vendored
@ -78,10 +78,17 @@ jobs:
|
||||
|
||||
# Add shared libraries needed for runtime (from build/bin and build/libs)
|
||||
if [ -d ../libs ]; then
|
||||
find ../libs -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print0 | \
|
||||
while IFS= read -r -d '' lib; do
|
||||
$ZIP_CMD "$lib"
|
||||
done
|
||||
lib_count="$(find ../libs -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) | wc -l)"
|
||||
if [ "$lib_count" -gt 0 ]; then
|
||||
find ../libs -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print0 | \
|
||||
while IFS= read -r -d '' lib; do
|
||||
$ZIP_CMD "$lib"
|
||||
done
|
||||
else
|
||||
echo "No shared libraries found in build/libs"
|
||||
fi
|
||||
else
|
||||
echo "No build/libs directory found; skipping shared library packaging"
|
||||
fi
|
||||
|
||||
# Verify zip file was created and contains files
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user