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 492598c commit e3abe79Copy full SHA for e3abe79
.github/workflows/maven.yml
@@ -9,16 +9,20 @@ on:
9
10
jobs:
11
build:
12
-
13
runs-on: ubuntu-latest
14
+ strategy:
+ matrix:
15
+ java:
16
+ - '8'
17
+ - '11'
18
+ #- '17'
19
+ name: Java ${{ matrix.Java }} sample
20
steps:
21
- uses: actions/checkout@v2
- - name: Set up JDK 8
22
+ - name: Setup java
23
uses: actions/setup-java@v2
24
with:
- java-version: '8'
25
distribution: 'temurin'
- cache: maven
26
+ java-version: ${{ matrix.java }}
27
- name: Build with Maven
28
run: mvn -B package --file pom.xml
0 commit comments