Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonhunt02 authored Dec 30, 2024
1 parent ccf8d91 commit c7c6f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/zip-upload-split/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7c6f92

Please sign in to comment.