forked from Minecraft/PluginAPI
20 lines
401 B
YAML
20 lines
401 B
YAML
clone:
|
|
git:
|
|
image: "woodpeckerci/plugin-git:next"
|
|
pipeline:
|
|
compliance:
|
|
commands:
|
|
- "gradle build"
|
|
- "gradle test"
|
|
image: "gradle:7.3-jdk17"
|
|
when:
|
|
event: pull_request
|
|
release:
|
|
commands:
|
|
- "gradle publish"
|
|
environment:
|
|
MAVEN_PASSWORD:
|
|
from_secret: maven_password
|
|
image: "gradle:7.3-jdk17"
|
|
when:
|
|
branch: master |