Skip to content

Github action start

Github action start #4

Workflow file for this run

name: BE CI/CD
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
# 소스 코드 체크아웃
- uses: actions/checkout@v4
# JDK 17 설정
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
# Gradle 빌드 실행 (backend 디렉토리 내의 gradlew 사용)
- name: Build with Gradle Wrapper
run: ./backend/gradlew build
working-directory: backend