AuthMeReloaded/.github/workflows/maven.yml

24 lines
455 B
YAML

name: Java CI
on:
push:
pull_request:
branches:
- master
jobs:
build_and_test:
strategy:
matrix:
jdkversion: [11, 17, 21]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.jdkversion }}
cache: 'maven'
- name: Build with Maven
run: mvn -V -B clean package --file pom.xml