ci: fixes job caches not producing after recent cabal upgrade
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.
This commit is contained in:
committed by
Steve Chavez
parent
b080f59bac
commit
a72241ad4e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user