File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,19 @@ jobs:
1313 runs-on : ubuntu-latest
1414 strategy :
1515 matrix :
16- java : [ '11' ]
17- scala : [
18- { version: '2.12.13' }
19- ]
16+ java : [ '8', '11' ]
17+
2018 steps :
2119 - name : checkout the repo
2220 uses : actions/checkout@v2
2321 with :
2422 fetch-depth : 0
2523
26- - name : Set up JDK
27- uses : actions/setup-java@v1
24+ - name : Set up JVM
25+ uses : actions/setup-java@v2
2826 with :
27+ distribution : ' adopt'
2928 java-version : ${{ matrix.java }}
3029
3130 - 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 88 publish :
99 runs-on : ubuntu-20.04
1010 steps :
11- - uses : actions/checkout@v2.3.4
11+ - uses : actions/checkout@v2
1212 with :
1313 fetch-depth : 0
14- - uses : olafurpg/setup-scala@v10
14+ - uses : actions/setup-java@v2
15+ with :
16+ distribution : ' adopt'
17+ java-version : ' 11'
1518 - run : sbt ci-release
1619 env :
1720 PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments