mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-05-19 15:44:46 +00:00
Add uv-cache-hit and test CI
This commit is contained in:
parent
e85263fd93
commit
50d654e3c5
4 changed files with 26 additions and 7 deletions
|
@ -80,8 +80,10 @@ async function setupUv(
|
|||
const toolCacheResult = tryGetFromToolCache(arch, resolvedVersion);
|
||||
if (toolCacheResult.installedPath) {
|
||||
core.info(`Found uv in tool-cache for ${resolvedVersion}`);
|
||||
core.setOutput("uv-cache-hit", true);
|
||||
return { uvDir: toolCacheResult.installedPath, version: resolvedVersion };
|
||||
}
|
||||
core.setOutput("uv-cache-hit", false);
|
||||
|
||||
const versionResult = await downloadVersion(
|
||||
platform,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue