fix: Add version to cache key.

This commit is contained in:
Miles Johnson 2023-04-17 16:24:27 -07:00
parent d19bea4f65
commit 565e2400ef

View file

@ -92,7 +92,7 @@ export function getCachePaths(): string[] {
}
export function getCachePrefixes(): string[] {
return [`setup-rustcargo-${process.platform}`, 'setup-rustcargo'];
return [`setup-rustcargo-v0-${process.platform}`, 'setup-rustcargo-v0'];
}
export async function getPrimaryCacheKey() {