Skip to content

Commit

Permalink
Added GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed May 29, 2024
1 parent ab7a5f7 commit 048a78c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: maven

on:
push:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 17 ]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- run: mvn -B package --file pom.xml

0 comments on commit 048a78c

Please sign in to comment.