diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e401e12d..098935ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,6 +51,8 @@ jobs: CI_AUTO_MIGRATION: "false" DB_DSN: root:super_secret_passw0rd@tcp(localhost:3306)/campus_db?charset=utf8mb4&parseTime=True&loc=Local ENVIRONMENT: dev + - name: export manual database + run: mysqldump --user root --password super_secret_passw0rd --no-data campus_db --result-file=./manual.sql && cat ./manual.sql - name: run auto migrations run: go run main.go working-directory: ./server @@ -59,8 +61,6 @@ jobs: CI_AUTO_MIGRATION: "true" DB_DSN: root:super_secret_passw0rd@tcp(localhost:3300)/campus_db?charset=utf8mb4&parseTime=True&loc=Local ENVIRONMENT: dev - - name: export auto databases - run: mysqldump --host localhost:3300 --user root --password super_secret_passw0rd --no-data campus_db --result-file=./auto.sql && cat ./auto.sql build: runs-on: ubuntu-latest needs: [test, test_migrations]