Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonye Jack authored Aug 9, 2020
1 parent 66d0957 commit f5f9770
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

set -e

FILES=$2

CHANGED_FILES=()

for path in ${FILES}
for path in ${INPUT_FILES}
do
echo "Checking for file changes: \"${path}\"..."
MODIFIED_FILE=$(git diff --diff-filter=ACM --name-only | grep -E "(${path})" || true)
Expand All @@ -17,8 +15,8 @@ done

if [[ -z ${CHANGED_FILES} ]]; then
echo "::set-output name=files_changed::false"
exit 0;
else
echo "::set-output name=files_changed::true"
exit 0;
fi

exit 0;

0 comments on commit f5f9770

Please # to comment.