File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,23 @@ jobs:
1515 strategy :
1616 matrix :
1717 os : [ubuntu-latest]
18- java : [8, 21 ]
18+ java : ['temurin:8', 'temurin:21' ]
1919 runs-on : ${{ matrix.os }}
2020 env :
2121 # define Java options for both official sbt and sbt-extras
22- JAVA_OPTS : -Dfile.encoding=UTF-8
22+ JAVA_OPTS : -Dfile.encoding=UTF-8
2323 JVM_OPTS : -Dfile.encoding=UTF-8
2424 ADDITIONAL_JVM_OPTS : -Djava.security.manager=allow
2525 steps :
2626 - name : Checkout
2727 uses : actions/checkout@v4
28- - name : Set up JVM
29- uses : actions/setup-java@v4
28+ - name : Setup cache
29+ uses : coursier/cache-action@v6
30+ - name : Setup jdk and sbt
31+ uses : coursier/setup-action@v1
3032 with :
31- distribution : ' temurin'
32- java-version : ${{ matrix.java }}
33- cache : ' sbt'
33+ jvm : ${{ matrix.java }}
34+ apps : sbt
3435 - name : Test
3536 shell : bash
3637 run : sbt -v clean test scripted
Original file line number Diff line number Diff line change @@ -16,12 +16,13 @@ jobs:
1616 uses : actions/checkout@v4
1717 with :
1818 fetch-depth : 0
19- - name : Set up JVM
20- uses : actions/setup-java@v4
19+ - name : Setup cache
20+ uses : coursier/cache-action@v6
21+ - name : Setup jdk and sbt
22+ uses : coursier/setup-action@v1
2123 with :
22- distribution : ' temurin'
23- java-version : ' 8'
24- cache : ' sbt'
24+ jvm : ' temurin:8'
25+ apps : sbt
2526 - name : Release
2627 run : sbt ci-release
2728 env :
You can’t perform that action at this time.
0 commit comments