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.
1 parent 2cba283 commit 3853370Copy full SHA for 3853370
.github/workflows/DINAR-PORT.yml
@@ -104,11 +104,9 @@ jobs:
104
sed -r -i "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" $LOG_FILE
105
# escape character
106
# 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
+ echo 'MIGRATOR_LOGS<<EOF' >> $GITHUB_ENV
+ cat $LOG_FILE >> $GITHUB_ENV
+ echo 'EOF' >> $GITHUB_ENV
112
113
git add -A
114
git commit -m ":arrow_up:${{ env.PORT_TO_BRANCH_TAGS }} OCA/odoo-module-migrator
0 commit comments