Geoffrey-MC-Plugin/.woodpecker.yml

29 lines
572 B
YAML
Raw Normal View History

clone:
git:
image: "woodpeckerci/plugin-git:next"
2023-09-02 18:42:32 +00:00
pipeline:
compliance:
2023-09-02 18:42:32 +00:00
image: "gradle:8.3-jdk17"
commands:
- "gradle build"
- "gradle test"
when:
event: pull_request
build:
2023-09-02 18:42:32 +00:00
image: "gradle:8.3-jdk17"
commands:
- "gradle shadowJar"
when:
event: push
2023-09-02 18:42:32 +00:00
branch: main
release:
image: jolheiser/drone-gitea-main:latest
settings:
2023-09-02 18:42:32 +00:00
base: https://git.jojodev.com
token:
from_secret: gitea_token
files:
- "build/libs/*.jar"
when:
2023-09-02 18:42:32 +00:00
event: push
branch: main