익명사용자에 대한 검색기능 예외처리 #300
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle | |
# | |
name: Java CI with Gradle | |
#### | |
on: # 이벤트 트리거 | |
push: #push 이벤트 발생시 | |
branches: #어떤 브랜치에서 | |
- develop | |
pull_request: #pull_request 발생시 | |
branches: #어떤 브랜치에서 | |
- develop | |
permissions: #작업에 필요한 권환₩# | |
contents: read | |
jobs: #작업을 정의 | |
build: | |
runs-on: ubuntu-latest # Ubunt 환경에서 작업을 실행 | |
steps: #작업 단계 정의 | |
- uses: actions/checkout@v3 #현재 레퍼지토리를 체크아웃 | |
- name: Set up JDK 11 #JDK 11 설치 | |
uses: actions/setup-java@v3 #JDK 11을 설치하는 액션을 사용 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Copy Secret | |
env: | |
OCCUPY_SECRET: ${{ secrets.OCCUPY_SECRET }} | |
OCCUPY_SECRET_DIR: src/main/resources | |
OCCUPY_SECRET_DIR_FILE_NAME: application.yml | |
run: echo $OCCUPY_SECRET | base64 --decode > $OCCUPY_SECRET_DIR/$OCCUPY_SECRET_DIR_FILE_NAME | |
- name: Build with Gradle #Gradle이용하여 빌드 | |
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 | |
with: | |
gradle-version: 7.2 #그래들 버전 7.2 사용 | |
arguments: clean build -x test |