mirror of https://github.com/actions/toolkit
cache - getCacheVersion - dup paths array
parent
457303960f
commit
0747ab3577
|
@ -76,7 +76,8 @@ export function getCacheVersion(
|
|||
compressionMethod?: CompressionMethod,
|
||||
enableCrossOsArchive = false
|
||||
): string {
|
||||
const components = paths
|
||||
// don't pass changes upstream
|
||||
const components = paths.slice()
|
||||
|
||||
// Add compression method to cache version to restore
|
||||
// compressed cache as per compression method
|
||||
|
|
Loading…
Reference in New Issue