Skip to content

Commit a2bcfde

Browse files
authored
Add matrix.sbt-args to sbt cache keys
1 parent 2525e59 commit a2bcfde

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/scala.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ jobs:
3737
~/.sbt/
3838
~/.coursier/
3939
key: |
40-
${{ runner.os }}-${{matrix.scala}}-${{ hashFiles('**/*.sbt') }}
41-
${{ runner.os }}-${{matrix.scala}}-
40+
${{runner.os}}-${{matrix.scala}}-${{hashFiles('**/*.sbt')}}-${{matrix.sbt-args}}
41+
${{runner.os}}-${{matrix.scala}}-${{hashFiles('**/*.sbt')}}-
42+
${{runner.os}}-${{matrix.scala}}-
4243
- name: Run tests
4344
run: sbt ${{matrix.sbt-args}} ++${{ matrix.scala }} test
4445
- name: Publish to Maven Central Repository

0 commit comments

Comments
 (0)