Skip to content

[INFRA] CI 구축

[INFRA] CI 구축 #14

Workflow file for this run

name: gohigher-backend-ci
on:
pull_request:
branches:
- main
- develop
types: [ opened, synchronize ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Set up MySQL
uses: mirromutth/[email protected]
with:
host port: 3306
mysql database: 'gohigher'
mysql user: 'gohigher'
mysql password: 'password'
- name: Checkout source code
uses: actions/checkout@v2
- name: Change gradlew permission
run: sudo chmod 755 gradlew
- name: Build with Gradle
run: ./gradlew clean build -Pencryption-key=${{ secrets.ENCRYPTION_KEY }}