Skip to content

Commit 2e66d9f

Browse files
committed
benchmark without caching
1 parent 04735fa commit 2e66d9f

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/maven.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,6 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: cachix/install-nix-action@v31
21-
- name: List pre-installed store paths
22-
run: find /nix/store -mindepth 1 -maxdepth 1 | sort > pre-installed
23-
- uses: actions/cache/restore@v4
24-
id: cache
25-
with:
26-
path: cache-closure.nar
27-
key: nix-${{ hashFiles('.github/workflows/maven.yml', 'default.nix', 'nix/**', 'pom.xml', 'local-maven-repo') }}
28-
# restore-keys:
29-
- name: Import cache
30-
if: steps.cache.outputs.cache-hit == 'true'
31-
run: |
32-
nix-store --import < cache-closure.nar
33-
- name: Build cache
34-
if: steps.cache.outputs.cache-hit != 'true'
35-
run: |
36-
nix-build --out-link dependencies nix/github-workflow-dependencies.nix
37-
- name: Export cache
38-
if: steps.cache.outputs.cache-hit != 'true'
39-
run: |
40-
find /nix/store -mindepth 1 -maxdepth 1 | sort > store-paths
41-
nix-store --export $(comm -13 pre-installed store-paths) > cache-closure.nar
42-
- uses: actions/cache/save@v4
43-
if: steps.cache.outputs.cache-hit != 'true'
44-
with:
45-
path: cache-closure.nar
46-
key: nix-${{ hashFiles('.github/workflows/maven.yml', 'default.nix', 'nix/**', 'pom.xml', 'local-maven-repo') }}
47-
# restore-keys:
4821
- name: Build
4922
run: nix-build
5023
- name: Upload Javadoc artifact

0 commit comments

Comments
 (0)