mirror of https://github.com/actions/toolkit
Exclude manifest file from the created archive
parent
457303960f
commit
ddb5a79ec2
|
@ -77,6 +77,8 @@ async function getTarArgs(
|
||||||
? tarFile
|
? tarFile
|
||||||
: cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
|
: cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
|
||||||
'--exclude',
|
'--exclude',
|
||||||
|
ManifestFilename,
|
||||||
|
'--exclude',
|
||||||
BSD_TAR_ZSTD
|
BSD_TAR_ZSTD
|
||||||
? tarFile
|
? tarFile
|
||||||
: cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
|
: cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
|
||||||
|
|
Loading…
Reference in New Issue