Fix permissions issues using gtar on mac
This commit is contained in:
1 parent
823bdf43ef
commit
43af7e1698
1 file changed
+2
@@ -26,6 +26,8 @@ async function getTarPath(
|
||||
case 'darwin': {
|
||||
const gnuTar = await io.which('gtar', false)
|
||||
if (gnuTar) {
|
||||
// fix permission denied errors when extracting BSD tar archive with GNU tar - https://github.com/actions/cache/issues/527
|
||||
args.push('--delay-directory-restore')
|
||||
return gnuTar
|
||||
}
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user