forked from clone/WorldGuardWrapper
Add Github pipeline
This commit is contained in:
parent
6e0210902c
commit
5ca6d718b8
19
.github/workflows/maven.yml
vendored
Normal file
19
.github/workflows/maven.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Java CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_and_test:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
jdkversion: [8, 11, 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
|
Loading…
Reference in New Issue
Block a user