Skip to content

[#57] 엘라스틱서치 검색엔진 추가 #26

[#57] 엘라스틱서치 검색엔진 추가

[#57] 엘라스틱서치 검색엔진 추가 #26

Workflow file for this run

name: Java CI with Gradle
on:
pull_request:
branches:
- main
- develop
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 체크아웃
uses: actions/checkout@v3
- name: JDK 17 설치
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Gradle 캐싱
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Gradle 권한 부여
run: chmod +x gradlew
shell: bash
- name: Gradle build 수행
run: ./gradlew build -x test -x asciidoctor -Pjasypt.encryptor.password=${{ secrets.JASYPT_PASSWORD }}
shell: bash
- name: prod 환경에서 Gradle test 수행
run: ./gradlew clean test -Pprofile=prod
shell: bash