From 1c561c02702f5274dcab7685f5fe4304d55cf266 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 17 May 2021 04:07:57 -0400 Subject: [PATCH] Update action.yml --- action.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/action.yml b/action.yml index e098733b..f3e774e1 100644 --- a/action.yml +++ b/action.yml @@ -116,16 +116,16 @@ runs: ALL_MODIFIED_FILES_ARRAY+=("$(git diff --diff-filter="ACM" --name-only "$HEAD_SHA" | grep -E "(${path})" | xargs || true)") done - ADDED=$(echo "${ADDED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - COPIED=$(echo "${COPIED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - DELETED=$(echo "${DELETED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - MODIFIED=$(echo "${MODIFIED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - RENAMED=$(echo "${RENAMED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - CHANGED=$(echo "${CHANGED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - UNMERGED=$(echo "${UNMERGED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - UNKNOWN=$(echo "${UNKNOWN_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - ALL_CHANGED=$(echo "${ALL_CHANGED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') - ALL_MODIFIED_FILES=$(echo "${ALL_MODIFIED_FILES_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g') + ADDED=$(echo "${ADDED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + COPIED=$(echo "${COPIED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + DELETED=$(echo "${DELETED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + MODIFIED=$(echo "${MODIFIED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + RENAMED=$(echo "${RENAMED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + CHANGED=$(echo "${CHANGED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + UNMERGED=$(echo "${UNMERGED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + UNKNOWN=$(echo "${UNKNOWN_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + ALL_CHANGED=$(echo "${ALL_CHANGED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') + ALL_MODIFIED_FILES=$(echo "${ALL_MODIFIED_FILES_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g') fi fi