Skip to content

Commit 9186ea2

Browse files
authored
Merge pull request #116 from VariantSync/fix-CI-cache-key
Include maven dependencies in the CI cache key
2 parents 830f5c0 + 78b3b56 commit 9186ea2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Nix with cached packages
2020
uses: rikhuijzer/[email protected]
2121
with:
22-
key: nix-${{ hashFiles('.github/workflows/maven.yml', 'default.nix', 'nix/**') }}
22+
key: nix-${{ hashFiles('.github/workflows/maven.yml', 'default.nix', 'nix/**', 'pom.xml', 'local-maven-repo') }}
2323
nix_file: nix/github-workflow-dependencies.nix
2424
- name: Build
2525
run: nix-build

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pkgs.stdenv.mkDerivation rec {
4545
dontConfigure = true;
4646
outputHashAlgo = "sha256";
4747
outputHashMode = "recursive";
48-
outputHash = "sha256-np1FQiQpWFYWZIoVsiAgURlIrmhXjUJjLM/LDbH7q4U=";
48+
outputHash = "sha256-S6duDsKFIrm+LT1SFD/9yxiODQI09MXvI8nHhy7nd4c=";
4949
};
5050

5151
buildPhase = ''

0 commit comments

Comments
 (0)