[Haskell-cafe] caching ~/.cabal with github actions on windows
Ben Franksen
ben.franksen at online.de
Fri Nov 13 12:12:14 UTC 2020
Am 13.11.20 um 12:35 schrieb Ben Franksen:
> Am 13.11.20 um 12:13 schrieb Orestis Melkonian:
>> 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 }}`.
>
> Thanks, I'll try that.
It hasn't completed but looks pretty good. In fact the cabal store path
gets shown as
path: C:\sr
I would never have guessed that path, nor did I see it in the cabal docs.
(BTW, the "setup-haskell-cabal" in your reply is the id: that you have
given your setup-haskell step; it took me a while to figure that out
since I am pretty new to github actions).
Thanks again
Ben
More information about the Haskell-Cafe
mailing list