You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to check out the same large repository (LLVM) in two different jobs and many matrix configurations in my workflow, and it's nearly always checked out at the same commit. If I could use a cache for that repo, it would speed up CI considerably. git ls-remote https://github.com/llvm/llvm-project.git -t llvmorg-$LLVM_VERSION | cut -f 1 could be used as a cache key. I may be able to figure out how to get this to work on my own, but it would be awesome if the functionality were built in.
Thanks!
The text was updated successfully, but these errors were encountered:
For download caching to make any sense, you need to somehow have it "closer" to where you need it. So for a public build runner, that gets reset every time and only have access to anything via internet, downloading it from the "cache" or downloading it from the source is about the same thing.
So you need to have a self-hosted action runner where you have a drive/share/folder that survives between builds.
For obvious reasons this is a major security issue if you don't trust all jobs running on your runner to not have read access to all other repos implicitly.
I have to check out the same large repository (LLVM) in two different jobs and many matrix configurations in my workflow, and it's nearly always checked out at the same commit. If I could use a cache for that repo, it would speed up CI considerably.
git ls-remote https://github.com/llvm/llvm-project.git -t llvmorg-$LLVM_VERSION | cut -f 1
could be used as a cache key. I may be able to figure out how to get this to work on my own, but it would be awesome if the functionality were built in.Thanks!
The text was updated successfully, but these errors were encountered: