Skip to content

environment: CI/CD 자동화 설정 완료 #2

environment: CI/CD 자동화 설정 완료

environment: CI/CD 자동화 설정 완료 #2

name: Spring Boot Gradle CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Clean with Gradle
run: ./gradlew clean
- name: Build with Gradle
run: ./gradlew build