3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-29 13:34:51 +00:00

Use cat instead of echo

This commit is contained in:
Logan Pulley 2022-10-12 15:16:26 -05:00
parent 81520789a6
commit dd9210256d
No known key found for this signature in database
GPG key ID: 8C867DE16E0E0997
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@ if [[ -n "$PREVIOUS_SHA" && -n "$CURRENT_SHA" && "$PREVIOUS_SHA" == "$CURRENT_SH
exit 1
fi
echo <<EOF >> "$GITHUB_OUTPUT"
cat <<EOF >> "$GITHUB_OUTPUT"
target_branch=$TARGET_BRANCH
current_branch=$CURRENT_BRANCH
previous_sha=$PREVIOUS_SHA

View file

@ -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"
fi
echo <<EOF >> "$GITHUB_OUTPUT"
cat <<EOF >> "$GITHUB_OUTPUT"
added_files=$ADDED
copied_files=$COPIED
deleted_files=$DELETED