forked from Minecraft/PluginAPI
Clean up YAML
parent
700494f15b
commit
7173a70003
|
@ -1,23 +1,20 @@
|
|||
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
|
||||
|
||||
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
|
Loading…
Reference in New Issue