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 30, 2023
1 parent 799da94 commit aba4737
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/capture_new_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ jobs:
- name: Verify executed migrations on master.
run: |
query_result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;" edxapp; | tail -n 1)
query_result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;" edxapp;)
echo "Query Result: $query_result"
echo "::set-env name=MYSQL_QUERY_RESULT::$query_result"
echo "$query_result"
shell: bash

- name: Checkout branch repo
Expand Down Expand Up @@ -153,9 +153,9 @@ jobs:
- name: Verify executed migrations on branch.
run: |
query_result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;" edxapp; | tail -n 1)
query_result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;" edxapp;)
echo "Query Result: $query_result"
echo "::set-env name=MYSQL_QUERY_RESULT::$query_result"
echo "$query_result"
shell: bash


Expand Down

0 comments on commit aba4737

Please sign in to comment.