Skip to content

Commit

Permalink
Merge pull request #19 from findify/fix/ci-cache-key
Browse files Browse the repository at this point in the history
Use exact cache key for CI
  • Loading branch information
shuttie authored May 17, 2022
2 parents 7670584 + 0e34e91 commit 8a9b3d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
cache-name: cache-sbt
with:
path: ~/.m2 ~/.coursier ~/.cache/coursier ~/.ivy2 ~/.sbt
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.sbt', '**/project/**') }}-${{ matrix.java }}-${{ matrix.scala }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
Expand Down
1 change: 1 addition & 0 deletions src/dummy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
trigger ci

0 comments on commit 8a9b3d9

Please sign in to comment.