From 382bdb3e33f5d3a8b7c98bad5e77933cec758627 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Fri, 20 Sep 2024 09:50:10 +0200 Subject: [PATCH] Document default UV_CACHE_DIR --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f2ded2..63b4bd3 100644 --- a/README.md +++ b/README.md @@ -154,8 +154,10 @@ changes. The glob matches files relative to the repository root. ### Local cache path -This action controls where uv stores its cache on the runner's filesystem. You can change the -default (`/tmp/setup-uv-cache`) by specifying the path with the `cache-local-path` input. +This action controls where uv stores its cache on the runner's filesystem by setting `UV_CACHE_DIR`. +It defaults to `setup-uv-cache` in the `TMP` dir, `D:\a\_temp\uv-tool-dir` on Windows and +`/tmp/setup-uv-cache` on Linux/macOS. You can change the default by specifying the path with the +`cache-local-path` input. ```yaml - name: Define a custom uv cache path