From c7c6f920045958f0936d962e73bee85b718f82a1 Mon Sep 17 00:00:00 2001 From: dragonhunt02 Date: Mon, 30 Dec 2024 18:52:12 +0100 Subject: [PATCH] Update action.yml --- .github/zip-upload-split/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/zip-upload-split/action.yml b/.github/zip-upload-split/action.yml index 007c2e3d..b77f889f 100644 --- a/.github/zip-upload-split/action.yml +++ b/.github/zip-upload-split/action.yml @@ -30,7 +30,7 @@ runs: mkdir _temp NAME=$( basename ${{ inputs.zip-path }} ) SIZE=$( stat -c %s ${{ inputs.zip-path }} ) - if [ "${SIZE}" -le MAX_SIZE ]; then + if [ "${SIZE}" -le "${MAX_SIZE}" ]; then cp ${{ inputs.zip-path }} _temp/${NAME}; elif [ ${{ inputs.zip-cmd }} == '7zip' ]; then # On ubuntu-22.04 and ubuntu-24.04 apt package has a bug