This repository has been archived by the owner on Dec 7, 2024. It is now read-only.
period 타입을 LocalTime에서 Enum으로 변경했습니다. #76
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: GCMS-CI | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "*" ] | |
permissions: write-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:latest | |
env: | |
DB_HOST: ${{ secrets.DB_HOST }} | |
MYSQL_ROOT_PASSWORD: ${{ secrets.DB_PASSWORD }} | |
DB_PORT: ${{ secrets.DB_PORT }} | |
ports: | |
- 3306:3306 | |
redis: | |
image: redis:latest | |
env: | |
REDIS_HOST: ${{ secrets.REDIS_HOST }} | |
REDIS_PORT: ${{ secrets.REDIS_PORT }} | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Create application.yml | |
run: | | |
rm ./src/main/resources/application.yml | |
touch ./src/main/resources/application.yml | |
echo "${{ secrets.APPLICATION_YML }}" >> ./src/main/resources/application.yml | |
shell: bash | |
- name: Build with Gradle | |
run: ./gradlew clean build |