Skip to content

Commit d13d5ac

Browse files
committed
CI: Use a faster method to install Nix
The old method also didn't reproduce the same environment if there was a cache hit (the sandbox was disabled in this case).
1 parent 07756a1 commit d13d5ac

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/maven.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Install Nix with cached packages
21-
uses: rikhuijzer/[email protected]
22-
with:
23-
key: nix-${{ hashFiles('.github/workflows/maven.yml', 'default.nix', 'nix/**', 'pom.xml', 'local-maven-repo') }}
24-
nix_file: nix/github-workflow-dependencies.nix
20+
- uses: cachix/install-nix-action@v31
2521
- name: Build
2622
run: nix-build
2723
- name: Upload Javadoc artifact

0 commit comments

Comments
 (0)