ci-configs/mcmod.yaml

20 lines
547 B
YAML
Raw Normal View History

2022-03-23 22:07:01 +01:00
steps:
- name: build
image: adoptopenjdk/openjdk8
commands:
- chmod +x gradlew
- ./gradlew build
2022-10-24 09:29:15 +02:00
when:
event: push
2022-04-08 22:13:34 +02:00
- name: maven
image: adoptopenjdk/openjdk8
2023-07-20 17:51:26 +02:00
secrets: [ gitea_token ]
2022-04-08 22:13:34 +02:00
environment:
2022-10-18 17:06:10 +02:00
ORG_GRADLE_PROJECT_mvnURL: https://maven.tilera.xyz
2022-04-08 22:13:34 +02:00
ORG_GRADLE_PROJECT_mvnUsername: tilera
commands:
2023-07-20 17:51:26 +02:00
- export ORG_GRADLE_PROJECT_mvnPassword=$GITEA_TOKEN
2022-04-08 22:13:34 +02:00
- chmod +x gradlew
- ./gradlew publish
when:
event: tag