Skip to content

Commit

Permalink
ci: fixes job caches not producing after recent cabal upgrade
Browse files Browse the repository at this point in the history
Recent cabal adopted XDG guidelines and stores data
across multiple directories under $HOME.
Creating ~/.cabal manually returns old behavior and allows caching single directory again.
  • Loading branch information
develop7 committed Nov 28, 2023
1 parent b080f59 commit 6e59a59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,9 @@ jobs:
run: |
ghcup install ghc ${{ matrix.ghc }}
ghcup set ghc ${{ matrix.ghc }}
- name: Copy cabal.project
- name: Copy cabal.project & fix caching
run: |
mkdir ~/.cabal
cp cabal.project.non-nix cabal.project
- name: Cache
uses: actions/cache@v3
Expand Down

0 comments on commit 6e59a59

Please sign in to comment.