File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,19 +56,16 @@ jobs:
56
56
with :
57
57
fetch-depth : 0
58
58
59
- - name : Checkout GitHub merge
60
- if : github.event.pull_request
61
- run : |-
62
- git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
63
- git checkout scratch
64
-
65
59
- name : Set up JDK ${{ matrix.jdk-version }}
66
60
uses : olafurpg/setup-scala@v10
67
61
with :
68
62
java-version : adopt@${{ matrix.jdk-version }}
69
63
70
64
- name : Cache Coursier cache
71
65
uses : coursier/cache-action@v5
66
+ with :
67
+ # add marker for the target scala-version, so that compiler bridge can be cached
68
+ extraKey : ${{ matrix.jdk-version }}-${{ matrix.scala-version }}
72
69
73
70
- name : Compile and test for JDK ${{ matrix.jdk-version }}, Scala ${{ matrix.scala-version }}
74
71
run : sbt -J-XX:ReservedCodeCacheSize=256M ++${{ matrix.scala-version }} test
92
89
93
90
- name : Cache Coursier cache
94
91
uses : coursier/cache-action@v5
92
+ with :
93
+ # add marker that this build uses cross building, so hopefully all compiler bridges will be cached
94
+ extraKey : cross
95
95
96
96
- name : Publish
97
97
run : sbt ci-release
You can’t perform that action at this time.
0 commit comments