1
0
Fork 0

Add option to overwrite the files on cache extraction

pull/1891/head
Maxim Rubis 2024-12-04 19:02:04 -05:00 committed by GitHub
parent b7a00a3203
commit b1433cb0ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,9 @@ async function getTarArgs(
// Platform specific args // Platform specific args
if (tarPath.type === ArchiveToolType.GNU) { if (tarPath.type === ArchiveToolType.GNU) {
// Make sure any existing files are overwritten
args.push('--overwrite')
switch (process.platform) { switch (process.platform) {
case 'win32': case 'win32':
args.push('--force-local') args.push('--force-local')