Switch to woodpecker CI
parent
50751166df
commit
d0f6dc985b
18
.drone.yml
18
.drone.yml
|
@ -1,18 +1,14 @@
|
||||||
---
|
pipeline:
|
||||||
kind: pipeline
|
build:
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
steps:
|
|
||||||
- name: "Build"
|
|
||||||
image: "eclipse-temurin:17-jdk"
|
image: "eclipse-temurin:17-jdk"
|
||||||
commands:
|
commands:
|
||||||
- "./gradlew assemble"
|
- "./gradlew assemble"
|
||||||
- name: "Test"
|
test:
|
||||||
image: "eclipse-temurin:17-jdk"
|
image: "eclipse-temurin:17-jdk"
|
||||||
commands:
|
commands:
|
||||||
- "./gradlew test"
|
- "./gradlew test"
|
||||||
|
|
||||||
- name: "Create Release"
|
release:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
|
@ -23,7 +19,7 @@ steps:
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
- name: "Publish to Maven"
|
maven:
|
||||||
image: "eclipse-temurin:17-jdk"
|
image: "eclipse-temurin:17-jdk"
|
||||||
commands:
|
commands:
|
||||||
- "./gradlew publishReleasePublicationToMavenRepository"
|
- "./gradlew publishReleasePublicationToMavenRepository"
|
||||||
|
@ -35,7 +31,3 @@ steps:
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- tag
|
|
Loading…
Reference in New Issue