Skip to content

Commit 8fc63e4

Browse files
author
Oryan M
committed
Run multiple java versions
1 parent 0f75dc4 commit 8fc63e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pull-request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ on:
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
java: [ '8', '11', '15' ]
811
steps:
912
- name: Checkout
1013
uses: actions/checkout@v2
1114
- name: Setup java
1215
uses: actions/setup-java@v2
1316
with:
14-
java-version: '11'
17+
java-version: ${{ matrix.java }}
1518
distribution: 'adopt'
1619
- name: Cache Maven packages
1720
uses: actions/cache@v2

0 commit comments

Comments
 (0)