Skip to content

Move the site publishing around #70

Move the site publishing around

Move the site publishing around #70

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