Skip to content

Commit 596c951

Browse files
rnveachromani
authored andcommitted
config: adds github workflow ci
1 parent 0a3ab33 commit 596c951

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/maven.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
7+
jobs:
8+
install:
9+
strategy:
10+
matrix:
11+
platform: [ubuntu-latest, macos-latest, windows-latest]
12+
runs-on: ${{ matrix.platform }}
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 50
17+
18+
- name: Setup local maven cache
19+
uses: actions/cache@v3
20+
with:
21+
path: ~/.m2/repository
22+
key: maven-cache-${{ hashFiles('**/pom.xml') }}
23+
24+
- name: Set up JDK 11
25+
uses: actions/setup-java@v3
26+
with:
27+
distribution: temurin
28+
java-version: 11
29+
30+
- name: Build with Maven
31+
run: mvn --errors --no-transfer-progress install

0 commit comments

Comments
 (0)