mirror of
https://github.com/tj-actions/changed-files
synced 2025-01-18 13:57:39 +00:00
Update get-changed-paths.sh
This commit is contained in:
parent
9f56ba29e4
commit
c742851bbf
1 changed files with 0 additions and 2 deletions
|
@ -79,8 +79,6 @@ fi
|
||||||
|
|
||||||
echo "Retrieving changes between $INPUT_PREVIOUS_SHA ($INPUT_TARGET_BRANCH) → $INPUT_CURRENT_SHA ($INPUT_CURRENT_BRANCH)"
|
echo "Retrieving changes between $INPUT_PREVIOUS_SHA ($INPUT_TARGET_BRANCH) → $INPUT_CURRENT_SHA ($INPUT_CURRENT_BRANCH)"
|
||||||
|
|
||||||
echo "Getting diff..."
|
|
||||||
|
|
||||||
if [[ "$INPUT_HAS_CUSTOM_PATTERNS" == "false" ]]; then
|
if [[ "$INPUT_HAS_CUSTOM_PATTERNS" == "false" ]]; then
|
||||||
if [[ "$INPUT_JSON" == "false" ]]; then
|
if [[ "$INPUT_JSON" == "false" ]]; then
|
||||||
ADDED=$(get_diff "$INPUT_PREVIOUS_SHA" "$INPUT_CURRENT_SHA" A | awk -v d="$INPUT_SEPARATOR" '{s=(NR==1?s:s d)$0}END{print s}')
|
ADDED=$(get_diff "$INPUT_PREVIOUS_SHA" "$INPUT_CURRENT_SHA" A | awk -v d="$INPUT_SEPARATOR" '{s=(NR==1?s:s d)$0}END{print s}')
|
||||||
|
|
Loading…
Reference in a new issue