Skip to content

Commit be79bc9

Browse files
ci: add JDK 11 workflow with cache
Co-Authored-By: Joao Esteves <joao.esteves@cognition.ai>
1 parent d57e5ee commit be79bc9

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/java11-build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Java 11 Build
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- name: Setup JDK 11
9+
uses: actions/setup-java@v4
10+
with:
11+
distribution: temurin
12+
java-version: '11'
13+
cache: maven
14+
- name: Build with Maven
15+
run: mvn -B -e clean verify
16+
- name: Run Tests
17+
run: mvn -B test

0 commit comments

Comments
 (0)