mirror of
https://github.com/actions/cache.git
synced 2025-03-31 10:26:35 +00:00
Merge 5cee9fa885
into e12d46a63a
This commit is contained in:
commit
8eb3982f31
1 changed files with 1 additions and 1 deletions
2
dist/save-only/index.js
vendored
2
dist/save-only/index.js
vendored
|
@ -36678,7 +36678,7 @@ function getTarArgs(tarPath, compressionMethod, type, archivePath = '') {
|
|||
// Method specific args
|
||||
switch (type) {
|
||||
case 'create':
|
||||
args.push('--posix', '-cf', BSD_TAR_ZSTD
|
||||
args.push('--posix', '--remove-files', '-cf', BSD_TAR_ZSTD
|
||||
? tarFile
|
||||
: cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'), '--exclude', BSD_TAR_ZSTD
|
||||
? tarFile
|
||||
|
|
Loading…
Add table
Reference in a new issue