Closed hyeseung-of-dable closed 2 years ago
as-is) zip --delete $zip_file_name ${{ inputs.exclude-files-from-zip }} 입력받은 exclude-files-from-zip 파일을 바로 제거하도록 함. 입력되지않은 경우 ""파일을 찾아서 제거하려고 시도 -> zip error: Nothing to do! (deploy-test.zip) error
zip --delete $zip_file_name ${{ inputs.exclude-files-from-zip }}
zip error: Nothing to do! (deploy-test.zip)
to-be) exclude-files-from-zip 파일이 존재할 때만 zip에서 제거
as-is)
zip --delete $zip_file_name ${{ inputs.exclude-files-from-zip }}
입력받은 exclude-files-from-zip 파일을 바로 제거하도록 함. 입력되지않은 경우 ""파일을 찾아서 제거하려고 시도 ->zip error: Nothing to do! (deploy-test.zip)
errorto-be) exclude-files-from-zip 파일이 존재할 때만 zip에서 제거