Skip to content

Commit 499518e

Browse files
committed
Using Temurin Builds of OpenJDK in GH Actions
Signed-off-by: Carl Dea <carldea@gmail.com>
1 parent 42191f9 commit 499518e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/checkstyle.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ on: [pull_request]
44
jobs:
55
build:
66
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
java-version: [ 11 ]
710
steps:
811
- uses: actions/checkout@v2
912

10-
- name: Set up JDK 11
13+
- name: Set up JDK ${{ matrix.java-version }}
1114
uses: actions/setup-java@v2
1215
with:
13-
java-version: '11'
14-
distribution: 'adopt'
16+
java-version: ${{ matrix.java-version }}
17+
distribution: 'temurin'
1518

1619
- name: Check style and license headers
1720
run: |

0 commit comments

Comments
 (0)