mirror of
https://github.com/tj-actions/changed-files
synced 2025-01-17 09:17:46 +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:
parent
3f78450f6c
commit
d9eb683b30
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.github/workflows/test.yml
|
||||
action.yml
|
||||
action.yml
|
||||
test/changed-files-list.txt
|
||||
action.yml
|
||||
|
|
Loading…
Reference in a new issue