hendrikmuhs / ccache-action

github action to speedup building using ccache
MIT License
122 stars 54 forks source link

The ccache directory space grows too fast for a single upload #166

Closed nautaa closed 1 year ago

nautaa commented 1 year ago

For push-frequent repositories, old ccache is hardly ever used again after a while. However, the ccache directory still downloads the old cache directory and adds new cache items to it, and finally uploads the whole directory to the github action cache. So the ccache directory space grows too fast for a single upload. Is there a mechanism to avoid uploading the old cache in ccache directory?

nautaa commented 1 year ago

@hendrikmuhs

hendrikmuhs commented 1 year ago

You can limit the size using the max-size parameter.

nautaa commented 1 year ago

Thanks for your reply.