[Haskell-cafe] caching ~/.cabal with github actions on windows
Oleg Grenrus
oleg.grenrus at iki.fi
Fri Nov 13 10:54:52 UTC 2020
cabal-install doesn't use ~/.cabal on Windows.
See
https://hackage.haskell.org/package/directory-1.3.6.1/docs/System-Directory.html#v:getAppUserDataDirectory
- 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.
More information about the Haskell-Cafe
mailing list