We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66eef3c + b451912 commit d785cb8Copy full SHA for d785cb8
entrypoint.sh
@@ -10,13 +10,12 @@ set -e
10
11
echo "$OUTPUT"
12
13
-OUTPUT=$(echo -n "$OUTPUT" | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g')
14
-OUTPUT="${OUTPUT//'%'/'%25'}"
15
-OUTPUT="${OUTPUT//$'\n'/'%0A'}"
16
-OUTPUT="${OUTPUT//$'\r'/'%0D'}"
17
-
18
echo "composer_diff_exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT
19
-echo -n "composer_diff=$OUTPUT" >> $GITHUB_OUTPUT
+
+delimiter="$(openssl rand -hex 8)"
+echo "composer_diff<<${delimiter}" >> "${GITHUB_OUTPUT}"
+echo "${OUTPUT}" >> "${GITHUB_OUTPUT}"
+echo "${delimiter}" >> "${GITHUB_OUTPUT}"
20
21
if [[ "$*" == *"--strict"* ]]; then
22
exit $EXIT_CODE
0 commit comments