File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed
Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,33 @@ on: [push,pull_request]
33jobs :
44 build :
55 runs-on : ubuntu-latest
6+ strategy :
7+ matrix :
8+ java-version : [ 10, 11 ]
69 steps :
710 - uses : actions/checkout@v3
8- - name : Set up JDK 11
11+ - name : Set up JDK ${{ matrix.java-version }}
912 uses : actions/setup-java@v3
1013 with :
11- java-version : ' 11 '
14+ java-version : ${{ matrix.java-version }}
1215 distribution : ' adopt'
1316 - name : Build with Maven
1417 env :
1518 DETECTLANGUAGE_API_KEY : ${{ secrets.DETECTLANGUAGE_API_KEY }}
1619 run : mvn test
20+
21+ build-oracle :
22+ runs-on : ubuntu-latest
23+ strategy :
24+ matrix :
25+ java : [ 11 ]
26+ steps :
27+ - uses : actions/checkout@v3
28+ - name : Set up JDK ${{ matrix.java-version }}
29+ uses : oracle-actions/setup-java@v1
30+ with :
31+ release : ${{ matrix.java-version }}
32+ - name : Build with Maven
33+ env :
34+ DETECTLANGUAGE_API_KEY : ${{ secrets.DETECTLANGUAGE_API_KEY }}
35+ run : mvn test
You can’t perform that action at this time.
0 commit comments