Skip to content

Commit e8e760b

Browse files
authored
Merge pull request #12 from carldea/main
Using Temurin builds of OpenJDK in GH actions
2 parents 42191f9 + 499518e commit e8e760b

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)