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