WorldGuardWrapper/.github/workflows/maven.yml
2022-04-18 21:00:20 +02:00

20 lines
401 B
YAML

name: Java CI
on: [push]
jobs:
build_and_test:
strategy:
matrix:
jdkversion: [17]
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