Skip to content

Merge pull request #519 from AuthMe/dependabot/maven/dependencies/org… #146

Merge pull request #519 from AuthMe/dependabot/maven/dependencies/org…

Merge pull request #519 from AuthMe/dependabot/maven/dependencies/org… #146

Workflow file for this run

# Secondary build that builds the project with JDK 11+. Note that the target in the pom.xml is still Java 8.
name: Maven build
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# Java 8 has its own file so we can do other stuff like Coveralls
java: ['11', '17', '21']
name: Java ${{ matrix.java }} build
steps:
- uses: actions/checkout@v6
- name: Set up Java
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
- name: Build with Maven
run: mvn -B --file pom.xml package