mirror of https://github.com/actions/toolkit
Merge pull request #1378 from MSP-Greg/00-cache-paths-dup
cache - getCacheVersion - dup paths arraypull/1622/head
commit
cab491a426
|
@ -80,7 +80,8 @@ export function getCacheVersion(
|
||||||
compressionMethod?: CompressionMethod,
|
compressionMethod?: CompressionMethod,
|
||||||
enableCrossOsArchive = false
|
enableCrossOsArchive = false
|
||||||
): string {
|
): string {
|
||||||
const components = paths
|
// don't pass changes upstream
|
||||||
|
const components = paths.slice()
|
||||||
|
|
||||||
// Add compression method to cache version to restore
|
// Add compression method to cache version to restore
|
||||||
// compressed cache as per compression method
|
// compressed cache as per compression method
|
||||||
|
|
Loading…
Reference in New Issue