Skip to content

Commit 3853370

Browse files
committed
1 parent 2cba283 commit 3853370

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/DINAR-PORT.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,9 @@ jobs:
104104
sed -r -i "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" $LOG_FILE
105105
# escape character
106106
# TODO: update KeisukeYamashita/create-comment to support reading comment's body from file
107-
body=$(cat $LOG_FILE)
108-
body="${body//'%'/'%25'}"
109-
body="${body//$'\n'/'%0A'}"
110-
body="${body//$'\r'/'%0D'}"
111-
echo "MIGRATOR_LOGS=$body" >> $GITHUB_ENV
107+
echo 'MIGRATOR_LOGS<<EOF' >> $GITHUB_ENV
108+
cat $LOG_FILE >> $GITHUB_ENV
109+
echo 'EOF' >> $GITHUB_ENV
112110
113111
git add -A
114112
git commit -m ":arrow_up:${{ env.PORT_TO_BRANCH_TAGS }} OCA/odoo-module-migrator

0 commit comments

Comments
 (0)