27 lines
724 B
YAML
27 lines
724 B
YAML
name: Service CI
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- gh-pages
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: ubuntu:22.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 21
|
|
cache: 'maven'
|
|
env:
|
|
# work around an issue with actions/runner setting an incorrect HOME in containers, which breaks maven caching
|
|
# https://github.com/actions/setup-java/issues/356
|
|
HOME: /root
|
|
- name: Build with Maven
|
|
run: ./mvnw -e -B verify
|