Skip to content

Commit 5fcc5dc

Browse files
committed
fix: add distribution matrix
1 parent c74d848 commit 5fcc5dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/master-snapshot-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
name: Test & Release Snapshot to Maven Central
22
on:
33
push:
4-
branchs: [ master ]
4+
branches: [ master ]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
1010
java: [11, 15]
11+
distribution: [adopt, adopt-j9]
1112
kubernetes: ['v1.17.13','v1.18.12','v1.19.4']
1213
steps:
1314
- uses: actions/checkout@v2
@@ -20,6 +21,7 @@ jobs:
2021
- name: Set up Java and Maven
2122
uses: actions/[email protected]
2223
with:
24+
distribution: ${{ matrix.distribution }}
2325
java-version: ${{ matrix.java }}
2426
- name: Run unit tests
2527
run: mvn -B test --file pom.xml

0 commit comments

Comments
 (0)