Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Sep 5, 2021
1 parent cfcb385 commit 81ad4b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 81ad4b8

Please sign in to comment.