Compare commits

...

No commits in common. "master" and "main" have entirely different histories.
master ... main

2 changed files with 17 additions and 1 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
kind: pipeline
type: docker
name: java-demo
steps:
- name: build
image: maven:3.9.6-eclipse-temurin-17-alpine # 仅 ~220 MB
commands:
- mvn -B clean package -DskipTests # 跳过测试,更快
- java -jar target/*.jar --version || echo "Build OK"
volumes:
- name: m2-cache
path: /root/.m2 # 本地缓存依赖
volumes:
- name: cache
temp: {}

@ -1 +0,0 @@
Subproject commit 92e9e64fc89f5b31ff376eb286c5d7d94aa46cec