Switch to woodpecker CI
parent
898b0e1d13
commit
9370605525
20
.drone.yml
20
.drone.yml
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue