
Note that if you use the setup-haskell action (https://github.com/actions/setup-haskell), you can get the directory from its outputs, i.e. `${{ steps.setup-haskell-cabal.outputs.cabal-store }}`. Cheers, --OM On 11/13/20 12:54 PM, Oleg Grenrus wrote:
cabal-install doesn't use ~/.cabal on Windows.
See https://hackage.haskell.org/package/directory-1.3.6.1/docs/System-Directory....
- Oleg
On 13.11.2020 12.43, Ben Franksen wrote:
I can't get this to work. It works perfectly fine on Linux and MacOS but on Windows cabal always re-builds all the dependencies. The cache post-action on Windows tells me that the cache hasn't changed, which means cabal actually re-created the ~/.cabal directory exactly as it was in the cache!
Is this a known bug in cabal on Windows?
Does anyone have a work-around?
Cheers Ben
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.