Renamed has_changed to all_changed (#33)

This commit is contained in:
Tonye Jack
2021-05-01 13:27:06 -04:00
committed by GitHub
parent c7eb6e4282
commit 8a7dfe02e7
2 changed files with 6 additions and 6 deletions

View File

@@ -42,9 +42,9 @@ outputs:
all_modified_files:
description: List of all copied modified and added files
value: ${{ steps.changed_files.outputs.all_modified_files }}
has_changed:
all_changed:
description: Return true only when all files provided using the files input have all changed.
value: ${{ steps.changed_files.outputs.has_changed }}
value: ${{ steps.changed_files.outputs.all_changed }}
runs:
using: 'composite'
@@ -134,9 +134,9 @@ runs:
IFS=$'\n' SORTED_OUTPUT_ALL_MODIFIED_FILES=($(sort <<<"${OUTPUT_ALL_MODIFIED_FILES[*]}"))
if [[ "${SORTED_INPUT_FILES[*]}" == "${SORTED_OUTPUT_ALL_MODIFIED_FILES[*]}" ]]; then
echo "::set-output name=has_changed::true"
echo "::set-output name=all_changed::true"
else
echo "::set-output name=has_changed::false"
echo "::set-output name=all_changed::false"
fi
echo "::set-output name=added_files::$ADDED"