update drone config.
This commit is contained in:
parent
728349b57c
commit
5eb05acec8
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ name: default
|
|||
|
||||
steps:
|
||||
- name: test
|
||||
image: maven:3.6-jdk-11
|
||||
image: maven:3.8-openjdk-18-slim
|
||||
commands:
|
||||
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
- mvn test -B
|
||||
|
@ -14,13 +14,13 @@ steps:
|
|||
- master
|
||||
- feature/*
|
||||
- name: deploy
|
||||
image: maven:3.6-jdk-11
|
||||
image: maven:3.8-openjdk-18-slim
|
||||
environment:
|
||||
REPO_TOKEN:
|
||||
from_secret: repo-token
|
||||
commands:
|
||||
- mvn -s maven-settings.xml deploy -DskipTests=true
|
||||
trigger:
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
|
|
Loading…
Reference in a new issue