From b8dd3ecee281408ca776c1e1af7239e656309325 Mon Sep 17 00:00:00 2001
From: Pascal Grange <pgrange@users.noreply.github.com>
Date: Fri, 9 Jun 2023 00:53:40 +0200
Subject: [PATCH] Fix cabal store path for gh-action Ubuntu

---
 examples.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples.md b/examples.md
index 1bcde91..093339c 100644
--- a/examples.md
+++ b/examples.md
@@ -223,15 +223,15 @@ steps:
 
 ## Haskell - Cabal
 
-We cache the elements of the Cabal store separately, as the entirety of `~/.cabal` can grow very large for projects with many dependencies.
+We cache the elements of the Cabal store.
 
 ```yaml
 - name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
   uses: actions/cache@v3
   with:
     path: |
-      ~/.cabal/packages
-      ~/.cabal/store
+      ~/.cache/cabal/packages
+      ~/.local/state/cabal
       dist-newstyle
     key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
     restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-