From 47b0b6ef1980d67527f4429f2823f661152e8627 Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Tue, 31 Oct 2023 14:18:58 +0500 Subject: [PATCH] build: capturing new migrations. --- .github/workflows/capture_new_migrations.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index 466a0a60d7ef..869bb2afa4bd 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -123,9 +123,8 @@ jobs: id: capture1 run: | query_result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;" edxapp;) - echo "Query Result: $query_result" - echo "query_result=${query_result}" >> $GITHUB_ENV - echo "echo ${{env.query_result}}" + echo "Query Result: query_result" + echo "query_result=query_result" >> $GITHUB_ENV shell: bash - name: Checkout branch repo @@ -157,9 +156,8 @@ jobs: id: capture2 run: | query_result1=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;" edxapp;) - echo "Query Result: query_result1" - echo "query_result1=${query_result1}" >> $GITHUB_ENV - echo "echo ${{env.query_result1}}" + echo "Query Result: $query_result1" + echo "query_result1=$query_result1" >> $GITHUB_ENV shell: bash - name: Verify difference