Skip to content

Build, tests and package #22

Build, tests and package

Build, tests and package #22

Workflow file for this run

name: Build (Java 17)
run-name: "Build, tests and package"
on:
push:
branches:
- master
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
cache: maven
# Build all modules except klass-forvaltning since it is not compatible with JDK 17
- name: Build, test and package with Maven
run: mvn --batch-mode --update-snapshots package -pl '!:klass-forvaltning' -P nexus