#24 [feat] 인증 코드 redis 서비스 구현 #123
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MODDY DEV CI | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
env: | |
working-directory: moddy-server | |
steps: | |
- name: 체크아웃 | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Setup MySQL | |
uses: samin/mysql-action@v1 | |
with: | |
character set server: 'utf8' | |
mysql database: 'moddy' | |
mysql user: 'moddy' | |
mysql password: ${{ secrets.DatabasePassword }} | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
with: | |
redis-version: 6 | |
- name: application.yml 생성 | |
run: | | |
cd src/main/resources | |
echo "${{ secrets.APPLICATION }}" > ./application.yml | |
- name: 빌드 | |
run: | | |
chmod +x gradlew | |
./gradlew build -x test | |
shell: bash |