Add maven publish to mcmod

This commit is contained in:
Timo Ley 2022-04-08 22:13:34 +02:00
parent a1a4ac84f6
commit cd1c0ea581
1 changed files with 13 additions and 1 deletions

View File

@ -21,4 +21,16 @@ steps:
when:
event: tag
depends_on:
- build
- build
- name: maven
image: adoptopenjdk/openjdk8
environment:
ORG_GRADLE_PROJECT_mvnURL: https://data.tilera.xyz/maven
ORG_GRADLE_PROJECT_mvnUsername: tilera
ORG_GRADLE_PROJECT_mvnPassword:
from_secret: mvn_pw
commands:
- chmod +x gradlew
- ./gradlew publish
when:
event: tag