Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Up Maven version to latest #71

Up Maven version to latest

Up Maven version to latest #71

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: maven-${{ github.sha }}
- run: ./mvnw clean install -e -B -V
test:
needs: build
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [ '8', '11', '17', '21' ]
maven: [ '3.6.3', '3.8.8', '3.9.6' ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: maven-${{ github.sha }}
- run: ./mvnw -e -B -V -Dmaven=${{ matrix.maven }} -Dtype=only-script wrapper:wrapper
- run: ./mvnw -f its verify -e -B -V