mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-09-07 20:46:53 +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:
committed by
GitHub
parent
180f8b4439
commit
12c852e6ba
@ -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) {
|
||||
|
Reference in New Issue
Block a user