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"