Add ci workflow

This commit is contained in:
Janne Valkealahti
2021-12-17 14:41:44 +00:00
parent 90216bdc32
commit 8606c17001

22
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: CI
on:
workflow_dispatch:
push:
paths-ignore:
- '.github/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17' ]
name: CI Build ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: adopt
java-version: ${{ matrix.java }}
- run: ./mvnw -B package