diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff73c2a..1055b4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,6 +91,12 @@ jobs: -U "sa" ` -P "Pass@12345" ` -Q "RESTORE DATABASE [XByK_DancingGoat_Shopify] FROM DISK='/var/opt/mssql/backup/${{ env.DATABASE_BACKUP_FILENAME }}' WITH MOVE 'XByK_DancingGoat_Shopify' TO '/var/opt/mssql/data/XByK_DancingGoat_Shopify.mdf', MOVE 'XByK_DancingGoat_Shopify_log' TO '/var/opt/mssql/data/XByK_DancingGoat_Shopify_log.ldf'" + sqlcmd ` + -S localhost ` + -d master ` + -U "sa" ` + -P "Pass@12345" ` + -Q "SELECT KeyValue FROM CMS_SettingsKey WHERE KeyName = 'CMSDBVersion'" if: endsWith(env.DATABASE_BACKUP_FILENAME, '.bak') - name: Restore Database .bacpac