Update entrypoint.sh

This commit is contained in:
Tonye Jack
2021-09-05 14:21:28 -04:00
committed by GitHub
parent cfcb385d2b
commit 81ad4b8744

View File

@@ -155,7 +155,7 @@ else
OTHER_DELETED_FILES=$(echo "${OTHER_DELETED_FILES_ARRAY[*]}" | tr " " "\n" | sort -u | awk -v d="$INPUT_SEPARATOR" '{s=(NR==1?s:s d)$0}END{print s}')
echo "Matching modified files: ${UNIQUE_DELETED_FILES_ARRAY[*]}"
echo "Matching deleted files: ${UNIQUE_DELETED_FILES_ARRAY[*]}"
if [[ -n "${UNIQUE_DELETED_FILES_ARRAY[*]}" ]]; then
echo "::set-output name=any_deleted::true"
@@ -164,7 +164,7 @@ else
fi
if [[ -n "${OTHER_DELETED_FILES_ARRAY[*]}" ]]; then
echo "Non Matching modified files: ${OTHER_DELETED_FILES_ARRAY[*]}"
echo "Non Matching deleted files: ${OTHER_DELETED_FILES_ARRAY[*]}"
echo "::set-output name=only_deleted::false"
echo "::set-output name=other_deleted_files::$OTHER_DELETED_FILES"
elif [[ -n "${UNIQUE_DELETED_FILES_ARRAY[*]}" ]]; then