We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 932d135 + dfc4572 commit 6448d78Copy full SHA for 6448d78
1 file changed
.github/workflows/maven.yml
@@ -12,13 +12,16 @@ jobs:
12
build:
13
14
runs-on: ubuntu-latest
15
+ strategy:
16
+ matrix:
17
+ java: [ '8', '11', '16' ] # All currently supported versions
18
19
steps:
20
- uses: actions/checkout@v2
- - name: Set up JDK 8
21
+ - name: Set up JDK ${{ matrix.java }}
22
uses: actions/setup-java@v2
23
with:
- java-version: '8'
24
+ java-version: ${{ matrix.java }}
25
distribution: 'adopt'
26
- name: Build with Maven
27
run: mvn -B package --file pom.xml
@@ -27,6 +30,7 @@ jobs:
30
id: project
28
31
- name: 'Upload Artifact'
29
32
uses: actions/upload-artifact@v2
33
+ if: ${{ matrix.java == '8' }}
34
35
name: Bytecode-Viewer-${{ steps.project.outputs.version }}-SNAPSHOT
36
path: target/Bytecode-Viewer-${{ steps.project.outputs.version }}.jar
0 commit comments