We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a311ff commit 7b8bf26Copy full SHA for 7b8bf26
.github/workflows/maven.yml
@@ -1,12 +1,13 @@
1
name: Java CI
2
3
on: [ push ]
4
-
5
jobs:
6
build:
7
8
runs-on: ubuntu-latest
9
+ strategy:
+ matrix:
+ java: [ '8', '11', '17', '21' ]
10
+ name: Build
11
steps:
12
- name: Setup redis 1
13
uses: getong/redis-action@v1
@@ -20,10 +21,10 @@ jobs:
20
21
with:
22
redis-version: '6.x'
23
- uses: actions/checkout@v3
- - name: Set up JDK 8
24
+ - name: Set up JDK ${{ matrix.java }}
25
uses: actions/setup-java@v3
26
- java-version: '8'
27
+ java-version: ${{ matrix.java }}
28
distribution: 'adopt'
29
check-latest: false
30
- name: Build with Maven
0 commit comments