TRAVIS_HASKELL_VERSION is not included in cache URL hash

Hello, I’m working on caching dependencies for my haskell project. I found the following issue: cache file URL is the same for all build matrix items, even if they have different ghc version. I worked around it by adding an environment variable for each item in the matrix. But I think cache file URL should depend on TRAVIS_HASKELL_VERSION environment variable. Is it a bug or just a not implemented feature? I didn’t find other place to report it, sorry if this forum is not the right place.

Hello, there. This is indeed an issue. I’ve opened a PR to address this problem.

This is now live.

1 Like

I’m debugging a problem with caches and need to download a specific cache locally.

I can see the cache identifiers with travis cache, how to obtain the complete cache URL from them?

Thanks!

We do not provide the ability to download caches at this time.

Thanks for your answer! For the record, my debugging notes are at