Skip to content

Commit 02538c8

Browse files
committed
add all java versions and use corretto for build
1 parent 54aefe7 commit 02538c8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,19 @@ jobs:
4545
build:
4646
runs-on: ubuntu-latest
4747
strategy:
48-
max-parallel: 4
48+
max-parallel: 5
4949
matrix:
50-
# test against latest update of each major Java version, as well as specific updates of LTS versions:
51-
java: [8, 8.0.192, 11.0.x, 11.0.3, 12, 13, 15, 16, 17 ]
50+
java: [8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20 ]
5251
name: Java ${{ matrix.java }}
5352
env:
5453
JAVA: ${{ matrix.java }}
5554
AWS_REGION: eu-west-1
5655
steps:
5756
- uses: actions/checkout@v3
5857
- name: Setup java
59-
uses: actions/setup-java@v2
58+
uses: actions/setup-java@v3
6059
with:
61-
distribution: 'zulu'
60+
distribution: 'corretto'
6261
java-version: ${{ matrix.java }}
6362
cache: 'maven'
6463
- name: Build with Maven

0 commit comments

Comments
 (0)