mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-04-09 20:04:18 +00:00
Remove uv version from cache key (#206)
This approach was copied from setup-rye but uv now has the capability to determine if a cache version is compatible. By removing it we will less frequently invalidate the cache and thus save bandwidth Closes: #203
This commit is contained in:
parent
180f8b4439
commit
12c852e6ba
4 changed files with 14 additions and 14 deletions
|
|
@ -55,7 +55,7 @@ async function run(): Promise<void> {
|
|||
core.info(`Successfully installed uv version ${setupResult.version}`);
|
||||
|
||||
if (enableCache) {
|
||||
await restoreCache(setupResult.version);
|
||||
await restoreCache();
|
||||
}
|
||||
process.exit(0);
|
||||
} catch (err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue