mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-06 09:41:22 +00:00
Update action.yml
This commit is contained in:
parent
51d97e3330
commit
1c561c0270
1 changed files with 10 additions and 10 deletions
20
action.yml
20
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)")
|
ALL_MODIFIED_FILES_ARRAY+=("$(git diff --diff-filter="ACM" --name-only "$HEAD_SHA" | grep -E "(${path})" | xargs || true)")
|
||||||
done
|
done
|
||||||
|
|
||||||
ADDED=$(echo "${ADDED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
ADDED=$(echo "${ADDED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
COPIED=$(echo "${COPIED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
COPIED=$(echo "${COPIED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
DELETED=$(echo "${DELETED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
DELETED=$(echo "${DELETED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
MODIFIED=$(echo "${MODIFIED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
MODIFIED=$(echo "${MODIFIED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
RENAMED=$(echo "${RENAMED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
RENAMED=$(echo "${RENAMED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
CHANGED=$(echo "${CHANGED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
CHANGED=$(echo "${CHANGED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
UNMERGED=$(echo "${UNMERGED_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
UNMERGED=$(echo "${UNMERGED_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
UNKNOWN=$(echo "${UNKNOWN_ARRAY[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
UNKNOWN=$(echo "${UNKNOWN_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
ALL_CHANGED=$(echo "${ALL_CHANGED_ARRAY[*]}" | 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[*]}" | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
ALL_MODIFIED_FILES=$(echo "${ALL_MODIFIED_FILES_ARRAY[*]}" | tr -s ' ' | sed 's/ */'"$INPUT_SEPARATOR"'/g')
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue