diff --git a/minio/mc-cp/action.yaml b/minio/mc-cp/action.yaml index e330434..d9484ff 100644 --- a/minio/mc-cp/action.yaml +++ b/minio/mc-cp/action.yaml @@ -34,6 +34,8 @@ runs: - name: "Build command." id: command run: | + # Replace each space with a backslash and a space + TARGET="${${{ inputs.target }}// /\\ }" COMMAND="cp ${{ inputs.target }} ${{ inputs.dest }}" RECURSIVE="${{ inputs.recursive }}" if [[ "$RECURSIVE" == "true" ]]; then