Skip to content

Commit

Permalink
build: capturing new migrations.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Oct 31, 2023
1 parent ad9e64f commit 47b0b6e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/capture_new_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 47b0b6e

Please sign in to comment.