mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-21 15:49:06 +08:00
cache - getCacheVersion - dup paths array
This commit is contained in:
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…
x
Reference in New Issue
Block a user