-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
빌드 스크립트 - JDK 17 설치 (actions/setup-java) - Gradle 테스트 실행 (gradle/gradle-build-action) - Gradle 빌드 실행 (gradle/gradle-build-action)
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: book-store server-spring | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "server-spring/**" | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- "server-spring/**" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./server-spring | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Test with Gradle | ||
user: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: test | ||
build-root-directory: server-spring | ||
- name: Build with Gradle | ||
user: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: assemble | ||
build-root-directory: server-spring | ||
|