diff --git a/.github/zip-upload-split/action.yml b/.github/zip-upload-split/action.yml index 8739e5cc..ac765392 100644 --- a/.github/zip-upload-split/action.yml +++ b/.github/zip-upload-split/action.yml @@ -23,7 +23,8 @@ runs: MAX_SIZE: 2050000 run: | mkdir _temp - zip ${{ inputs.zip-path }} --out _temp/new.zip -s "${MAX_SIZE}k" + NAME=$( basename ${{ inputs.zip-path }} ) + zip ${{ inputs.zip-path }} --out _temp/${NAME} -s "${MAX_SIZE}k" tree cd _temp for file in *; do \