Skip to content

Commit 4c2ff23

Browse files
committed
🐛 빌드 gradle로 변경
1 parent 1c31197 commit 4c2ff23

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,18 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v2
1616

17-
# 2. JAR 파일 빌드
18-
- name: Build JAR file
17+
#JDK 셋팅
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v2
20+
with:
21+
java-version: '17'
22+
distribution: 'adopt'
23+
24+
#프로젝트 빌드
25+
- name: Build with Gradle
1926
run: |
20-
./mvnw clean package -DskipTests
27+
chmod +x ./gradlew
28+
./gradlew build -x test
2129
2230
# 3. JAR 파일을 라즈베리파이 서버로 전송
2331
- name: Copy JAR file to Raspberry Pi

0 commit comments

Comments
 (0)