[Haskell-cafe] caching ~/.cabal with github actions on windows

Ben Franksen ben.franksen at online.de
Fri Nov 13 12:23:35 UTC 2020


Caching works now and re-running the job gets it down to 2 minutes (from
15 for the first run).

Awful! Thanks!

Cheers
Ben

Am 13.11.20 um 13:12 schrieb Ben Franksen:
> 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
> 
> _______________________________________________
> 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