Skip to content

Commit

Permalink
setting : Spring Boot CI-CD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
minjoon-98 authored Jul 6, 2024
1 parent 3b36126 commit e42f943
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 120 deletions.
112 changes: 0 additions & 112 deletions .github/workflows /Spring Boot CI-CD

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/Spring Boot CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,18 @@ jobs:
java-version: '17'
distribution: 'temurin'

# Gradle 캐시 설정
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# Gradle Build를 위한 권한 부여
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Gradle로 빌드 실행
- name: Build with Gradle
run: ./gradlew clean build

# # Gradle Build (test 제외)
# - name: Build with Gradle
# run: ./gradlew clean build --exclude-task test

# Docker Buildx 설정
- name: Docker Setup Buildx
uses: docker/[email protected]
Expand Down

0 comments on commit e42f943

Please sign in to comment.