Skip to content

Trying to fix site publishing #66

Trying to fix site publishing

Trying to fix site publishing #66

Workflow file for this run

name: Build and test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 21 ]
name: Java ${{ matrix.java }} build
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- run: echo "M2_HOME=$(dirname $(dirname `which mvn`))" >> $GITHUB_ENV
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Test user"
- name: Build with Maven on JDK ${{ matrix.java }}
run: mvn --batch-mode --update-snapshots verify