From 565e2400ef98da9f87b623b1dbd00a38eb06ab7d Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Mon, 17 Apr 2023 16:24:27 -0700 Subject: [PATCH] fix: Add version to cache key. --- src/cargo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo.ts b/src/cargo.ts index eec4764..4c4230a 100644 --- a/src/cargo.ts +++ b/src/cargo.ts @@ -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() {