forked from Minecraft/PluginAPI
Compare commits
3 Commits
woodpecker
...
master
Author | SHA1 | Date |
---|---|---|
jolheiser | 7fc3dac3db | |
jolheiser | 7173a70003 | |
Joey Hines | 700494f15b |
35
.drone.yml
35
.drone.yml
|
@ -1,35 +0,0 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: compliance
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
pull: always
|
||||
image: gradle:6.6
|
||||
commands:
|
||||
- gradle build
|
||||
- gradle test
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: release
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: publish
|
||||
pull: always
|
||||
image: gradle:6.6
|
||||
environment:
|
||||
MAVEN_PASSWORD:
|
||||
from_secret: maven_password
|
||||
commands:
|
||||
- gradle publish
|
|
@ -0,0 +1,19 @@
|
|||
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"
|
||||
secrets:
|
||||
- maven_password
|
||||
image: "gradle:7.3-jdk17"
|
||||
when:
|
||||
branch: master
|
|
@ -34,8 +34,8 @@ publishing {
|
|||
}
|
||||
repositories {
|
||||
maven {
|
||||
name = "birbmc"
|
||||
url = "https://mvn.birbmc.com/releases"
|
||||
name = "jojodev"
|
||||
url = "https://mvn.jojodev.com/releases"
|
||||
credentials {
|
||||
username = "admin"
|
||||
password = System.getenv("MAVEN_PASSWORD")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
Loading…
Reference in New Issue