From b3940d4c5824562f17ab30f55e484a2c316d148b Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Wed, 1 Nov 2023 01:56:26 +0500 Subject: [PATCH] build: capturing new migrations. --- .github/workflows/capture_new_migrations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index cbd3650b7519..cf0f44305947 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -194,7 +194,7 @@ jobs: number1=${{ env.SECOND_QUERY }} number2=${{ env.FIRST_QUERY }} diff=$((number1 - number2)) - result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;) + data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;) formatted_data=$(echo "$data" | tr '\t' ' ') echo "Query Result: $formatted_data" echo "CUSTOM_MESSAGE=$formatted_data" >> $GITHUB_ENV