Use java25 as build image and really switch to main branch.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f616f0ad10
commit
5ef5837349
1 changed files with 6 additions and 6 deletions
12
.drone.yml
12
.drone.yml
|
|
@ -3,26 +3,26 @@ type: docker
|
|||
name: default
|
||||
steps:
|
||||
- name: build
|
||||
image: maven:3.9-eclipse-temurin-21
|
||||
image: maven:3.9-eclipse-temurin-25
|
||||
commands:
|
||||
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
when:
|
||||
ref:
|
||||
include:
|
||||
- refs/head/master
|
||||
- refs/head/main
|
||||
- refs/head/feature/**
|
||||
- refs/tags/**
|
||||
- name: test
|
||||
image: maven:3.9-eclipse-temurin-21
|
||||
image: maven:3.9-eclipse-temurin-25
|
||||
commands:
|
||||
- mvn test -B
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- master
|
||||
- main
|
||||
- feature/*
|
||||
- name: deploy
|
||||
image: maven:3.9-eclipse-temurin-21
|
||||
image: maven:3.9-eclipse-temurin-25
|
||||
environment:
|
||||
REPO_TOKEN:
|
||||
from_secret: repo-token
|
||||
|
|
@ -32,7 +32,7 @@ steps:
|
|||
- mvn -s maven-settings.xml deploy -DskipTests=true
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- main
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue