Switch to woodpecker CI

pull/1/head
kalle 2022-10-14 17:11:45 +02:00
parent 898b0e1d13
commit 9370605525
2 changed files with 16 additions and 20 deletions

View File

@ -1,20 +0,0 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: "Build"
image: "eclipse-temurin:16-jdk"
commands:
- "./gradlew assemble"
- name: "Create Release"
image: plugins/gitea-release
settings:
api_key:
from_secret: "gitea_api_key"
base_url:
from_secret: "gitea_base_url"
files: build/libs/GitlabRepoStats-*.jar
when:
event:
- tag

16
.woodpecker.yml Normal file
View File

@ -0,0 +1,16 @@
pipeline:
build:
image: "eclipse-temurin:16-jdk"
commands:
- "./gradlew assemble"
release:
image: plugins/gitea-release
settings:
api_key:
from_secret: "gitea_api_key"
base_url:
from_secret: "gitea_base_url"
files: build/libs/GitlabRepoStats-*.jar
when:
event:
- tag