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