File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,19 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
strategy :
15
15
matrix :
16
- java : [ '11' ]
17
- scala : [
18
- { version: '2.12.13' }
19
- ]
16
+ java : [ '8', '11' ]
17
+
20
18
steps :
21
19
- name : checkout the repo
22
20
uses : actions/checkout@v2
23
21
with :
24
22
fetch-depth : 0
25
23
26
- - name : Set up JDK
27
- uses : actions/setup-java@v1
24
+ - name : Set up JVM
25
+ uses : actions/setup-java@v2
28
26
with :
27
+ distribution : ' adopt'
29
28
java-version : ${{ matrix.java }}
30
29
31
30
- name : run tests
32
- run : sbt ++${{ matrix.scala.version }} test scripted
31
+ run : sbt scripted
Original file line number Diff line number Diff line change 8
8
publish :
9
9
runs-on : ubuntu-20.04
10
10
steps :
11
- - uses : actions/checkout@v2.3.4
11
+ - uses : actions/checkout@v2
12
12
with :
13
13
fetch-depth : 0
14
- - uses : olafurpg/setup-scala@v10
14
+ - uses : actions/setup-java@v2
15
+ with :
16
+ distribution : ' adopt'
17
+ java-version : ' 11'
15
18
- run : sbt ci-release
16
19
env :
17
20
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments