Open startakovsky opened 3 years ago
This error means the runner's SSD is filling up during the post run step. There's no way to avoid using the SSD, but you might be able to avoid the error by freeing up some SSD space before the cache upload.
Aside from that, this action does currently use a lot more space than it needs to. That's mainly caused by this issue in one of the dependencies: actions/toolkit#791.
You can save some disk space by deleting the following on Ubuntu (Android, Dotnet, Haskell):
rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc
this was mentioned in https://github.com/actions/virtual-environments/issues/2606
Also as a last resort use this plugin https://github.com/easimon/maximize-build-space
Ultimately the disk space of the GitHub runners isn't something that action-docker-layer-caching
can address since all the runner sizes are fixed. There is a thread on this here https://github.community/t/bigger-github-hosted-runners-disk-space/17267
My workflow fails due to an out-of-memory issue during the Post Run step. I am wondering whether there is something simple I can do like point to another place which I can use to store and retrieve the cached layers.
Wish I could use your product but because we build 3 large images it seems that I am limited in memory. Thank you.
Output here: