From 632449003afdd835739aefb9d43e618323dc4b27 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Thu, 31 Jul 2025 21:10:21 +0200 Subject: [PATCH] add note on caching to read disable-cache-pruning (#506) --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index a944246..eec0fac 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,10 @@ are automatically verified by this action. The sha256 hashes can be found on the ### Enable caching +> [!NOTE] +> The cache is pruned before it is uploaded to the GitHub Actions cache. This can lead to +> a small or empty cache. See [Disable cache pruning](#disable-cache-pruning) for more details. + If you enable caching, the [uv cache](https://docs.astral.sh/uv/concepts/cache/) will be uploaded to the GitHub Actions cache. This can speed up runs that reuse the cache by several minutes. Caching is enabled by default on GitHub-hosted runners. @@ -396,6 +400,7 @@ If you want to change this behaviour (especially on self-hosted runners) you can This action supports expanding the `~` character to the user's home directory for the following inputs: +- `version-file` - `cache-local-path` - `tool-dir` - `tool-bin-dir`