3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-16 23:17:49 +00:00

Updated formatting of all modified debug message (#247)

* Updated formatting of all modified debug message

* Update entrypoint.sh

* Update changed-files-list.txt

* Update changed-files-list.txt
This commit is contained in:
Tonye Jack 2021-11-08 08:17:51 -05:00 committed by GitHub
parent 3f78450f6c
commit d9eb683b30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -119,9 +119,10 @@ else
fi
fi
echo "Matching modified files: ${UNIQUE_ALL_MODIFIED}"
UNIQUE_ALL_MODIFIED=$(echo "${UNIQUE_ALL_MODIFIED}" | awk '{gsub(/\|/,"\n"); print $0;}' | awk -v d="$INPUT_SEPARATOR" '{s=(NR==1?s:s d)$0}END{print s}')
if [[ -n "${UNIQUE_ALL_MODIFIED}" ]]; then
echo "Matching modified files: ${UNIQUE_ALL_MODIFIED}"
echo "::set-output name=any_changed::true"
else
echo "::set-output name=any_changed::false"

View file

@ -1,4 +1,4 @@
.github/workflows/test.yml
action.yml
action.yml
test/changed-files-list.txt
action.yml