mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 12:19:07 +08:00
Address review comments
This commit is contained in:
parent
4679d0cfe6
commit
59285b8b01
@ -77,7 +77,7 @@ export function getCacheVersion(
|
||||
enableCrossOsArchive = false
|
||||
): string {
|
||||
const components = paths
|
||||
.concat([!compressionMethod ? '' : compressionMethod])
|
||||
.concat(!compressionMethod ? [] : [compressionMethod])
|
||||
.concat(
|
||||
process.platform !== 'win32' || enableCrossOsArchive
|
||||
? []
|
||||
|
Loading…
x
Reference in New Issue
Block a user