maze-generator/.drone.yml
Manuel Friedli 4dd91b0277
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Chore: Java 21.
2024-05-17 23:44:11 +02:00

38 lines
844 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: maven:3.9-eclipse-temurin-21
commands:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
when:
ref:
include:
- refs/head/master
- refs/head/feature/**
- refs/tags/**
- name: test
image: maven:3.9-eclipse-temurin-21
commands:
- mvn test -B
when:
branch:
include:
- master
- feature/*
- name: deploy
image: maven:3.9-eclipse-temurin-21
environment:
REPO_TOKEN:
from_secret: repo-token
REPO_TOKEN_OSSRH:
from_secret: repo-token-ossrh
commands:
- mvn -s maven-settings.xml deploy -DskipTests=true
when:
branch:
- master
event:
exclude:
- pull_request