Geoffrey-MC-Plugin/.woodpecker.yml

29 lines
569 B
YAML

clone:
git:
image: "woodpeckerci/plugin-git:next"
steps:
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