Skip to content

Commit 6fef91c

Browse files
committed
Better caching on github acitons.
1 parent e8ec82d commit 6fef91c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ jobs:
7070
- name: Cache cabal store
7171
uses: actions/cache@v4
7272
with:
73-
path: ~/.local/state/cabal
73+
path:
74+
- ~/.local
75+
- ~/.cache
7476
key: deps-linux-${{ env.ghc }}-${{ hashFiles('cabal.project.freeze') }}
7577

7678
- name: Cache build artifacts
@@ -128,7 +130,9 @@ jobs:
128130
- name: Cache cabal store
129131
uses: actions/cache@v4
130132
with:
131-
path: ~/.local/state/cabal
133+
path:
134+
- ~/.local
135+
- ~/.cache
132136
key: deps-${{ matrix.os }}-${{ hashFiles('devbox.lock', 'cabal.project.freeze') }}
133137

134138
- name: Cache build artifacts

0 commit comments

Comments
 (0)