libcvrapi/.drone.yml

21 lines
419 B
YAML
Raw Normal View History

2023-01-03 12:59:00 +00:00
---
kind: pipeline
name: default
type: docker
steps:
- name: build
image: eclipse-temurin:8-jdk
commands:
- ./gradlew build
- name: publish
image: eclipse-temurin:8-jdk
environment:
AUTH_TOKEN: # Gitea access token ENV variable
from_secret: auth # Name of DroneCI secret exposed above
commands:
2023-01-03 13:10:51 +00:00
- ./gradlew build publishAllPublicationsToGiteaRepository
2023-01-03 12:59:00 +00:00
when:
event:
- tag