mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-16 11:16:33 +00:00
Use cat instead of echo
This commit is contained in:
parent
81520789a6
commit
dd9210256d
2 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ if [[ -n "$PREVIOUS_SHA" && -n "$CURRENT_SHA" && "$PREVIOUS_SHA" == "$CURRENT_SH
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo <<EOF >> "$GITHUB_OUTPUT"
|
cat <<EOF >> "$GITHUB_OUTPUT"
|
||||||
target_branch=$TARGET_BRANCH
|
target_branch=$TARGET_BRANCH
|
||||||
current_branch=$CURRENT_BRANCH
|
current_branch=$CURRENT_BRANCH
|
||||||
previous_sha=$PREVIOUS_SHA
|
previous_sha=$PREVIOUS_SHA
|
||||||
|
|
|
@ -267,7 +267,7 @@ if [[ $INPUT_INCLUDE_ALL_OLD_NEW_RENAMED_FILES == "true" ]]; then
|
||||||
echo "::debug::All old & new renamed files: $ALL_OLD_NEW_RENAMED"
|
echo "::debug::All old & new renamed files: $ALL_OLD_NEW_RENAMED"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo <<EOF >> "$GITHUB_OUTPUT"
|
cat <<EOF >> "$GITHUB_OUTPUT"
|
||||||
added_files=$ADDED
|
added_files=$ADDED
|
||||||
copied_files=$COPIED
|
copied_files=$COPIED
|
||||||
deleted_files=$DELETED
|
deleted_files=$DELETED
|
||||||
|
|
Loading…
Add table
Reference in a new issue