From 95ef6d6cbd035921e6c40c00c2f2ac73fd62df90 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 1 May 2021 09:36:57 -0400 Subject: [PATCH] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index fc2f039a..9c44c296 100644 --- a/action.yml +++ b/action.yml @@ -132,7 +132,7 @@ runs: IFS=$'\n' SORTED_INPUT_FILES=($(sort <<<"${INPUT_FILES[*]}")) IFS=$'\n' SORTED_OUTPUT_ALL_MODIFIED_FILES=($(sort <<<"${OUTPUT_ALL_MODIFIED_FILES[*]}")) - if [[ $SORTED_INPUT_FILES -eq $SORTED_OUTPUT_ALL_MODIFIED_FILES ]]; then + if [[ "${SORTED_INPUT_FILES[*]}" == "${SORTED_OUTPUT_ALL_MODIFIED_FILES[*]}" ]]; then echo "::set-output name=has_changed::true" else echo "::set-output name=has_changed::false"