Fix: 팀 조회 관련 오류 및 예외처리 추가 #170
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: CI with Gradle | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: write-all | |
jobs: | |
build: | |
# ubuntu 버전 지정 | |
runs-on: ubuntu-22.04 | |
steps: | |
# Checkout 진행 | |
- uses: actions/checkout@v3 | |
# JDK 17 설치 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
# Gradle 캐싱 | |
- name: Gradle Caching | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
# Gradle 권한 부여 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
# yml 반영 | |
- name: Make application-secret.yml | |
run: | | |
cd ./src/main/resources | |
touch ./application.yml | |
echo "${{ secrets.APPLICATION_SECRET}}" > ./application.yml | |
shell: bash | |
# Gradle clean bootJar | |
- name: Build with Gradle | |
run: ./gradlew clean bootJar |