From 0e3e28f89831062ae5fd133ff3f4f8747c74daac Mon Sep 17 00:00:00 2001 From: "Sam A. Horvath-Hunt" Date: Sat, 16 Dec 2023 16:20:52 +0000 Subject: [PATCH] Fix Cabal store location in CI cache Newer versions of Cabal no longer use ~/.cabal/ unless it's already present (XDG). --- .github/actions/cabal-cache/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/cabal-cache/action.yml b/.github/actions/cabal-cache/action.yml index acafea7..207e049 100644 --- a/.github/actions/cabal-cache/action.yml +++ b/.github/actions/cabal-cache/action.yml @@ -5,7 +5,7 @@ runs: - name: Cache dependencies uses: actions/cache@v3 with: - path: ~/.cabal/store + path: ~/.local/state/cabal/store/ key: cabal-${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }} restore-keys: | cabal-${{ runner.os }}