Skip to content

Commit

Permalink
spring JAR build 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeesw authored May 1, 2024
1 parent b8b7ead commit 566a397
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,29 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew build

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: spring-app-artifacts
path: build/libs/*.jar

- name: Clean up Gradle Cache
run: ./gradlew clean


- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down

0 comments on commit 566a397

Please sign in to comment.