forked from TeamCompulsion/PHOTO_LINER_API
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 837 Bytes
/
integration-dev.yml
File metadata and controls
41 lines (33 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Spring Boot CI
on:
pull_request:
branches:
- develop
- main
permissions:
pull-requests: write
checks: write
jobs:
build:
runs-on: ubuntu-latest
steps:
# 1. 코드 체크아웃
- name: Checkout code
uses: actions/checkout@v3
# 2. JDK 설정
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
# 3. Gradle 실행 권한 부여
- name: Grant execute permission for gradlew
run: chmod +x gradlew
# 4. Gradle 설정
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
# 5. 빌드 (테스트 제외)
- name: Build with Gradle
run: ./gradlew build -x test --build-cache