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: |
|
run: |
|
||||||
ghcup install ghc ${{ matrix.ghc }}
|
ghcup install ghc ${{ matrix.ghc }}
|
||||||
ghcup set ghc ${{ matrix.ghc }}
|
ghcup set ghc ${{ matrix.ghc }}
|
||||||
- name: Copy cabal.project
|
- name: Copy cabal.project & fix caching
|
||||||
run: |
|
run: |
|
||||||
|
mkdir ~/.cabal
|
||||||
cp cabal.project.non-nix cabal.project
|
cp cabal.project.non-nix cabal.project
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user