From 4aba28775677dc3e5755191c5b93f8809cc7ca60 Mon Sep 17 00:00:00 2001 From: jonghun Date: Sat, 6 Jul 2024 07:22:29 +0900 Subject: [PATCH] =?UTF-8?q?#4=20test:=20ci=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/develop-ci.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/develop-ci.yml b/.github/workflows/develop-ci.yml index 9b276e0..d3571db 100644 --- a/.github/workflows/develop-ci.yml +++ b/.github/workflows/develop-ci.yml @@ -20,6 +20,9 @@ jobs: - name: 레포지토리 체크아웃 uses: actions/checkout@v3 + - name: 기본 MySQL 종료 (SUDO 필요) + run: sudo service mysql stop # 기본 MySQL 종료 + - name: JDK 17 설치 uses: actions/setup-java@v3 with: @@ -37,16 +40,25 @@ jobs: ${{ runner.os }}-gradle- - name: MySQL 설치 - uses: samin/mysql-action@v1 + uses: mirromutth/mysql-action@v1 with: - host port: 3306 # Optional, default value is 3306. The port of host - character set server: 'utf8' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld - collation server: 'utf8_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld mysql version: '8.0' # Optional, default value is "latest". The version of the MySQL mysql database: market_db # Optional, default value is "test". The specified database which will be create mysql user: root # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Of course you can use secrets, too mysql password: ${{ secrets.DB_PASSWORD }} +# - name: MySQL 설치 +## uses: stamina/mysql-action@v1 +# uses: mirromutth/mysql-action@v1 +# with: +# host port: 3306 # Optional, default value is 3306. The port of host +# character set server: 'utf8' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld +# collation server: 'utf8_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld +# mysql version: '8.0' # Optional, default value is "latest". The version of the MySQL +# mysql database: market_db # Optional, default value is "test". The specified database which will be create +# mysql user: root # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Of course you can use secrets, too +# mysql password: ${{ secrets.DB_PASSWORD }} + - name: properties 파일 생성 run: | cd ./src/main