Skip to content

Merge pull request #487 from JoyOfCodingPDX/remove-dtd-urls #531

Merge pull request #487 from JoyOfCodingPDX/remove-dtd-urls

Merge pull request #487 from JoyOfCodingPDX/remove-dtd-urls #531

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches:
- main
- '*-SNAPSHOT'
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
- '*-SNAPSHOT'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17', '22' ]
name: JDK ${{ matrix.Java }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.Java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build Maven project
run: ./mvnw --batch-mode verify --file pom.xml
- name: Build Maven site
run: ./mvnw --batch-mode site --file pom.xml