Skip to content

Commit

Permalink
#4 test: ci 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
rivkode committed Jul 5, 2024
1 parent 40997e7 commit 4aba287
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/develop-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 4aba287

Please sign in to comment.