Clean up YAML

master
jolheiser 2022-01-11 03:07:37 +00:00
parent 700494f15b
commit 7173a70003
1 changed files with 20 additions and 23 deletions

View File

@ -1,23 +1,20 @@
clone: clone:
git: git:
image: woodpeckerci/plugin-git:next image: "woodpeckerci/plugin-git:next"
pipeline:
pipeline: compliance:
compliance: commands:
image: gradle:7.3-jdk17 - "gradle build"
commands: - "gradle test"
- gradle build image: "gradle:7.3-jdk17"
- gradle test when:
when: event: pull_request
event: pull_request release:
commands:
release: - "gradle publish"
image: gradle:7.3-jdk17 environment:
environment: MAVEN_PASSWORD:
- MAVEN_PASSWORD: from_secret: maven_password
from_secret: maven_password image: "gradle:7.3-jdk17"
commands: when:
- gradle publish branch: master
when:
branch: master