This commit is contained in:
Sampark Sharma
2022-12-07 07:39:41 +00:00
committed by GitHub
parent c0085d7739
commit d1094e1523
2 changed files with 77 additions and 3 deletions
+2 -3
View File
@@ -106,9 +106,8 @@ export async function restoreCache(
process.platform === 'win32' &&
compressionMethod !== CompressionMethod.Gzip
) {
// On windows, we will try to download the cache entry with the same key
// but with different compression method. This is to support the old cache entry created
// by the old version of the cache action.
// This is to support the old cache entry created
// by the old version of the cache action on windows.
compressionMethod = CompressionMethod.Gzip
cacheEntry = await cacheHttpClient.getCacheEntry(keys, paths, {
compressionMethod