mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-20 22:02:38 +00:00
Harden ccache and zip handling
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
9e220a05c5
commit
324e8d6601
1
.github/workflows/build.yaml
vendored
1
.github/workflows/build.yaml
vendored
@ -27,6 +27,7 @@ jobs:
|
|||||||
- name: Ensure ccache installed
|
- name: Ensure ccache installed
|
||||||
run: |
|
run: |
|
||||||
if ! command -v ccache >/dev/null 2>&1; then
|
if ! command -v ccache >/dev/null 2>&1; then
|
||||||
|
echo "ccache not found in container; installing."
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq ccache
|
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq ccache
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -74,7 +74,7 @@ jobs:
|
|||||||
zip_add_unique() {
|
zip_add_unique() {
|
||||||
local target_name
|
local target_name
|
||||||
target_name="$(basename "$1")"
|
target_name="$(basename "$1")"
|
||||||
if unzip -Z1 eqemu-server-linux-x64.zip | grep -qx "$target_name"; then
|
if [ -f eqemu-server-linux-x64.zip ] && unzip -Z1 eqemu-server-linux-x64.zip | grep -qx "$target_name"; then
|
||||||
echo "Skipping duplicate library: $target_name"
|
echo "Skipping duplicate library: $target_name"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user