Switch to woodpecker CI

renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
kalle 2022-10-14 17:15:53 +02:00
parent 50751166df
commit d0f6dc985b
1 changed files with 32 additions and 40 deletions

View File

@ -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