Feature/#84 컨퍼런스 같이 가고싶어요 요청 api 구현 #59
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: Kerdy Backend Build Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
branches: | |
- backend-main | |
defaults: | |
run: | |
working-directory: backend/emm-sale | |
jobs: | |
build: | |
name: Build with Gradle | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:8.0.28 | |
env: | |
MYSQL_USER: user | |
MYSQL_PASSWORD: password | |
MYSQL_ROOT_PASSWORD: 1234 | |
MYSQL_DATABASE: kerdy | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: backend-main | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
- name: Give permission for Gradle | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew clean build |