5
0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-12-23 11:01:03 +00:00

Cache in tool cache

This commit is contained in:
Kevin Stillhammer
2024-08-24 00:14:50 +02:00
parent dccd08dfe5
commit 67efd41074
4 changed files with 35 additions and 27 deletions

View File

@@ -44,5 +44,5 @@ export async function downloadVersion(
} else {
tc.extractTar(downloadPath)
}
return downloadPath
return await tc.cacheDir(downloadPath, TOOL_CACHE_NAME, version, arch)
}