From 86c601796730c0579f0e3088b6fda06240cf87eb Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 1 May 2021 09:59:48 -0400 Subject: [PATCH] Update action.yml --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 9c44c296..31d80a23 100644 --- a/action.yml +++ b/action.yml @@ -129,9 +129,14 @@ runs: OUTPUT_ALL_MODIFIED_FILES=$(echo $ALL_MODIFIED_FILES | sed "s/(${{ inputs.separator }})/ /g") + echo $OUTPUT_ALL_MODIFIED_FILES + IFS=$'\n' SORTED_INPUT_FILES=($(sort <<<"${INPUT_FILES[*]}")) IFS=$'\n' SORTED_OUTPUT_ALL_MODIFIED_FILES=($(sort <<<"${OUTPUT_ALL_MODIFIED_FILES[*]}")) + echo $SORTED_INPUT_FILES + echo $SORTED_OUTPUT_ALL_MODIFIED_FILES + if [[ "${SORTED_INPUT_FILES[*]}" == "${SORTED_OUTPUT_ALL_MODIFIED_FILES[*]}" ]]; then echo "::set-output name=has_changed::true" else