From ed0cdbdb6c81f69c35de96111868be417b1f2db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9A=AE=E5=BF=83?= <97760035+MuuuShin@users.noreply.github.com> Date: Thu, 9 Nov 2023 06:41:24 +0800 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4b0761d..94d4428 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -78,6 +78,8 @@ jobs: cache: maven - name: Clean up PostgreSQL + env: + PGPASSWORD: ${{ secrets.DB_PASSWORD }} run: | psql -h localhost -U ${{ secrets.DB_USERNAME }} -d postgres -c "DROP DATABASE IF EXISTS cs309a;" psql -h localhost -U ${{ secrets.DB_USERNAME }} -d postgres -c "CREATE DATABASE cs309a;"