File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 2727 matrix :
2828 os : [ubuntu-latest]
2929 scala : [2.11.12, 2.12.14, 2.13.6, 3.0.2]
30- java : [adopt@1.8 ]
30+ java : [temurin@11 ]
3131 ci : [ciNode, ciFirefox, ciChrome, ciJSDOMNodeJS]
3232 runs-on : ${{ matrix.os }}
3333 steps :
@@ -36,10 +36,12 @@ jobs:
3636 with :
3737 fetch-depth : 0
3838
39- - name : Setup Java and Scala
40- uses : olafurpg/setup-scala@v13
39+ - name : Setup Java (temurin@11)
40+ if : matrix.java == 'temurin@11'
41+ uses : actions/setup-java@v2
4142 with :
42- java-version : ${{ matrix.java }}
43+ distribution : temurin
44+ java-version : 11
4345
4446 - name : Cache sbt
4547 uses : actions/cache@v2
@@ -76,18 +78,20 @@ jobs:
7678 matrix :
7779 os : [ubuntu-latest]
7880 scala : [3.0.2]
79- java : [adopt@1.8 ]
81+ java : [temurin@11 ]
8082 runs-on : ${{ matrix.os }}
8183 steps :
8284 - name : Checkout current branch (full)
8385 uses : actions/checkout@v2
8486 with :
8587 fetch-depth : 0
8688
87- - name : Setup Java and Scala
88- uses : olafurpg/setup-scala@v13
89+ - name : Setup Java (temurin@11)
90+ if : matrix.java == 'temurin@11'
91+ uses : actions/setup-java@v2
8992 with :
90- java-version : ${{ matrix.java }}
93+ distribution : temurin
94+ java-version : 11
9195
9296 - name : Cache sbt
9397 uses : actions/cache@v2
You can’t perform that action at this time.
0 commit comments