-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use latest version of coursier/cache-action (#293)
- Loading branch information
Showing
1 changed file
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,10 +62,7 @@ jobs: | |
java-version: adopt@${{ matrix.jdk-version }} | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
with: | ||
# add marker for the target scala-version, so that compiler bridge can be cached | ||
extraKey: ${{ matrix.jdk-version }}-${{ matrix.scala-version }} | ||
uses: coursier/[email protected] | ||
|
||
- name: Compile and test for JDK ${{ matrix.jdk-version }}, Scala ${{ matrix.scala-version }} | ||
run: sbt -J-XX:ReservedCodeCacheSize=256M ++${{ matrix.scala-version }} test | ||
|
@@ -88,10 +85,7 @@ jobs: | |
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
with: | ||
# add marker that this build uses cross building, so hopefully all compiler bridges will be cached | ||
extraKey: cross | ||
uses: coursier/[email protected] | ||
|
||
- name: Publish | ||
run: sbt ci-release | ||
|