CSharpCommentChecker/.drone.yml

28 lines
477 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: "Build"
image: "eclipse-temurin:16-jdk"
commands:
- "./gradlew assemble"
- name: "Test"
image: "eclipse-temurin:16-jdk"
commands:
- "./gradlew test"
- name: "Create Release"
image: plugins/gitea-release
settings:
api_key:
from_secret: "gitea_api_key"
base_url:
from_secret: "gitea_base_url"
files: build/libs/CSharpCommentChecker-*.jar
when:
branch:
- master