mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 17:59:06 +08:00
Fix test
This commit is contained in:
parent
1dae855746
commit
c0085d7739
4
packages/cache/src/cache.ts
vendored
4
packages/cache/src/cache.ts
vendored
@ -103,8 +103,8 @@ export async function restoreCache(
|
|||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (
|
if (
|
||||||
process.platform == 'win32' &&
|
process.platform === 'win32' &&
|
||||||
compressionMethod != CompressionMethod.Gzip
|
compressionMethod !== CompressionMethod.Gzip
|
||||||
) {
|
) {
|
||||||
// On windows, we will try to download the cache entry with the same key
|
// 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
|
// but with different compression method. This is to support the old cache entry created
|
||||||
|
Loading…
x
Reference in New Issue
Block a user