From cdf55b4099ccdfbf43923ff8bd3da805a613f00c Mon Sep 17 00:00:00 2001 From: James Chen Date: Sat, 19 Oct 2024 20:44:29 +0800 Subject: [PATCH] Update --- .github/workflows/web-interface-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/web-interface-check.yml b/.github/workflows/web-interface-check.yml index e1a2156da60..629fa5d4afd 100644 --- a/.github/workflows/web-interface-check.yml +++ b/.github/workflows/web-interface-check.yml @@ -85,9 +85,9 @@ jobs: run: | BASE_SIZE=0 if [ -d ./engine/build-cc-out ]; then - BASE_SIZE=$(du -sk ./engine/build-cc-out | awk '{print $1}') + BASE_SIZE=$(du -sb ./engine/build-cc-out | awk '{print $1}') fi - HEAD_SIZE=$(du -sk ./engine-HEAD/build-cc-out | awk '{print $1}') + HEAD_SIZE=$(du -sb ./engine-HEAD/build-cc-out | awk '{print $1}') DIFF_SIZE=$((HEAD_SIZE - BASE_SIZE)) if [ "$DIFF_SIZE" -gt 0 ]; then PACKAGE_SIZE_INFO="⚠️ Package size ⤴ $DIFF_SIZE bytes, old: $BASE_SIZE, new: $HEAD_SIZE"