1
0
Fork 0

Add option to overwrite the files on cache extraction

pull/1704/head
siburny 2024-04-05 07:01:50 -04:00
parent 9ddf153e00
commit 46d4ffa4fc
1 changed files with 3 additions and 0 deletions

View File

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