mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 21:02:41 +00:00
Unify zip duplicate handling
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
9b42bc0a25
commit
9f27f56d2a
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
echo "ccache not found in container; installing."
|
||||
apt-get update -qq
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq ccache
|
||||
command -v ccache >/dev/null 2>&1
|
||||
command -v ccache >/dev/null 2>&1 || { echo "ccache install failed"; exit 1; }
|
||||
fi
|
||||
|
||||
- name: Mark workspace safe
|
||||
|
||||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -83,11 +83,9 @@ jobs:
|
||||
}
|
||||
|
||||
# Add all executable files (excluding tests)
|
||||
ZIP_CONTENTS="$(unzip -Z1 eqemu-server-linux-x64.zip 2>/dev/null || true)"
|
||||
for f in *; do
|
||||
if [ -f "$f" ] && [ -x "$f" ] && [ "$f" != "tests" ]; then
|
||||
zip_add "$f"
|
||||
ZIP_CONTENTS="${ZIP_CONTENTS}${f}"$'\n'
|
||||
zip_add_unique "$f"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user