File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 25
25
matrix :
26
26
os : [ubuntu-latest]
27
27
scala : [2.12.15, 2.13.7]
28
- java : [adopt@1. 8]
28
+ java : [temurin@ 8]
29
29
platform : [jvm, js, native]
30
30
runs-on : ${{ matrix.os }}
31
31
steps :
@@ -34,10 +34,12 @@ jobs:
34
34
with :
35
35
fetch-depth : 0
36
36
37
- - name : Setup Java and Scala
38
- uses : olafurpg/setup-scala@v13
37
+ - name : Setup Java (temurin@8)
38
+ if : matrix.java == 'temurin@8'
39
+ uses : actions/setup-java@v2
39
40
with :
40
- java-version : ${{ matrix.java }}
41
+ distribution : temurin
42
+ java-version : 8
41
43
42
44
- name : Cache sbt
43
45
uses : actions/cache@v2
@@ -76,18 +78,20 @@ jobs:
76
78
matrix :
77
79
os : [ubuntu-latest]
78
80
scala : [2.13.7]
79
- java : [adopt@1. 8]
81
+ java : [temurin@ 8]
80
82
runs-on : ${{ matrix.os }}
81
83
steps :
82
84
- name : Checkout current branch (full)
83
85
uses : actions/checkout@v2
84
86
with :
85
87
fetch-depth : 0
86
88
87
- - name : Setup Java and Scala
88
- uses : olafurpg/setup-scala@v13
89
+ - name : Setup Java (temurin@8)
90
+ if : matrix.java == 'temurin@8'
91
+ uses : actions/setup-java@v2
89
92
with :
90
- java-version : ${{ matrix.java }}
93
+ distribution : temurin
94
+ java-version : 8
91
95
92
96
- name : Cache sbt
93
97
uses : actions/cache@v2
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ ThisBuild / mimaFailOnNoPrevious := false
18
18
ThisBuild / githubWorkflowBuildPreamble := Seq (
19
19
WorkflowStep .Run (List (" sudo apt install clang libunwind-dev libgc-dev libre2-dev" ))
20
20
)
21
- ThisBuild / githubWorkflowJavaVersions
:= Seq (
" [email protected] " )
21
+ ThisBuild / githubWorkflowJavaVersions := Seq (JavaSpec .temurin( " 8 " ) )
22
22
ThisBuild / githubWorkflowBuildMatrixAdditions +=
23
23
" platform" -> List (" jvm" , " js" , " native" )
24
24
You can’t perform that action at this time.
0 commit comments