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:
Kevin Stillhammer authored and GitHub committed 2024-12-22 12:12:29 +01:00
1 parent 180f8b4439
commit 12c852e6ba
4 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -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) {