File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -194,18 +194,18 @@ jobs:
194
194
number1=${{ env.SECOND_QUERY }}
195
195
number2=${{ env.FIRST_QUERY }}
196
196
diff=$((number1 - number2))
197
- data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;)
197
+ data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;)
198
198
formatted_data=$(echo "$data" | tr '\t' ' ')
199
199
echo "echo ${{ formatted_data }}"
200
- echo "CUSTOM_MESSAGE=$formatted_data" >> $GITHUB_ENV
200
+ # echo "CUSTOM_MESSAGE=$formatted_data" >> $GITHUB_ENV
201
+ echo "$formatted_data" > multi_line_data.txt
201
202
shell : bash
202
203
203
204
- name : Comment PR
204
205
uses : thollander/actions-comment-pull-request@v2
205
206
with :
206
- message : |
207
- Here is the data:
208
- ${{ secrets.CUSTOM_MESSAGE }}
207
+ with :
208
+ filePath : /path/to/file.txt
209
209
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
210
210
211
211
# This job aggregates test results. It's the required check for branch protection.
You can’t perform that action at this time.
0 commit comments