Skip to content

Commit 99aad17

Browse files
committed
Add github build workflow
1 parent e832f44 commit 99aad17

2 files changed

Lines changed: 37 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
name: Build
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
build:
8+
9+
runs-on: ${{ matrix.os }}
10+
permissions:
11+
contents: read
12+
packages: write
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
java_version: [8, 18-ea]
17+
os: [ubuntu-latest]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Java
22+
uses: actions/setup-java@v2
23+
with:
24+
java-version: ${{ matrix.java_version }}
25+
distribution: 'zulu'
26+
- name: Maven cache
27+
uses: actions/cache@v2
28+
env:
29+
cache-name: maven-cache
30+
with:
31+
path:
32+
~/.m2
33+
key: build-${{ env.cache-name }}
34+
- name: Build with Maven
35+
run: mvn clean verify
36+

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.avaje</groupId>
88
<artifactId>java8-oss</artifactId>
9-
<version>3.2</version>
9+
<version>3.3</version>
1010
</parent>
1111

1212
<groupId>io.ebean</groupId>

0 commit comments

Comments
 (0)