From b1b004ffca7da8ece08fe42c9ee0ec4fc2cc5ca5 Mon Sep 17 00:00:00 2001 From: Rik Huijzer Date: Sat, 20 Jan 2024 17:35:32 +0100 Subject: [PATCH] Mention why the extra permissions are required (#108) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index be23557..6eb1d9f 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,10 @@ This cached file is then restored upon the second run, and afterwards resaved un The benefit of caching is that downloading one big file is quicker than downloading many different files from many different locations and precompiling them. +By default, this action removes caches that were previously made by jobs on the same branch with the same restore key. +GitHub automatically removes old caches after a certain period or when the repository cache allocation is full. +It is, however, more efficient to explicitly remove old caches to improve caching for less frequently run jobs. + ### Cache keys The cache key that the cache will be saved as is based on: