Skip to content

fix: Team API 업데이트 및 오류 수정 #178

fix: Team API 업데이트 및 오류 수정

fix: Team API 업데이트 및 오류 수정 #178

Workflow file for this run

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