mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-01 22:54:00 +01:00
24 lines
455 B
YAML
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
|