3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 03:47:20 +00:00

Update action.yml

This commit is contained in:
Tonye Jack 2021-05-01 09:36:57 -04:00 committed by GitHub
parent bca6aacc45
commit 95ef6d6cbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"