Skip to content

Commit

Permalink
add github actions for java 11 and java 17 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelGaro authored Jan 19, 2024
1 parent 47e0f51 commit dc9266d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,22 @@ on:
branches: [ master ]

jobs:
build:
crosschecks:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'java' ]
java: [ '8', '11', '17' ]
steps:
- uses: actions/checkout@v4

- name: Set up JDK 1.8
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 8
java-version: ${{ matrix.java }}

- name: Cache local Maven repository
uses: actions/cache@v3
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,22 @@ name: Pull request with Maven
on: [pull_request]

jobs:
build:
crosschecks:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'java' ]
java: [ '8', '11', '17' ]
steps:
- uses: actions/checkout@v4

- name: Set up JDK 1.8
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 8
java-version: ${{ matrix.java }}

- name: Cache local Maven repository
uses: actions/cache@v3
Expand Down

0 comments on commit dc9266d

Please sign in to comment.