forked from Geoffrey/Geoffrey-MC-Plugin
29 lines
572 B
YAML
29 lines
572 B
YAML
clone:
|
|
git:
|
|
image: "woodpeckerci/plugin-git:next"
|
|
pipeline:
|
|
compliance:
|
|
commands:
|
|
- "gradle build"
|
|
- "gradle test"
|
|
image: "gradle:8.3-jdk17"
|
|
when:
|
|
event: pull_request
|
|
build:
|
|
commands:
|
|
- "gradle shadowJar"
|
|
image: "gradle:8.3-jdk17"
|
|
when:
|
|
branch: main
|
|
event: push
|
|
release:
|
|
image: jolheiser/drone-gitea-main:latest
|
|
settings:
|
|
token:
|
|
from_secret: gitea_token
|
|
base: https://git.jojodev.com
|
|
files:
|
|
- "build/libs/*.jar"
|
|
when:
|
|
branch: main
|
|
event: push |