javacord/.drone.yml

35 lines
425 B
YAML
Raw Normal View History

---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
2021-06-21 17:16:07 +00:00
image: gradle:7.1-jdk16
commands:
- gradle build
- gradle test
---
kind: pipeline
name: release
trigger:
branch:
- main
event:
- push
steps:
- name: publish
pull: always
2021-06-21 17:16:07 +00:00
image: gradle:7.1-jdk16
environment:
MAVEN_PASSWORD:
from_secret: maven_password
commands:
- gradle publish