diff --git a/.gitignore b/.gitignore index 7fc2709..356d980 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ yarn-debug.log* yarn-error.log* lerna-debug.log* +.DS_Store + # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json diff --git a/packages/action/dist/index.js b/packages/action/dist/index.js index d4d227b..8e04ac9 100644 --- a/packages/action/dist/index.js +++ b/packages/action/dist/index.js @@ -72,7 +72,7 @@ function run() { let i = 0; for (const artifact of artifacts) { if (artifact.endsWith('.app')) { - yield action_core_1.execCommand(`tar -czf ${artifact}.tgz ${artifact}`, { + yield action_core_1.execCommand(`tar czf ${artifact}.tgz ${artifact}`, { cwd: undefined }); artifacts[i] += '.tgz'; diff --git a/packages/action/src/index.ts b/packages/action/src/index.ts index fdb72ff..d40b7a8 100644 --- a/packages/action/src/index.ts +++ b/packages/action/src/index.ts @@ -92,7 +92,7 @@ async function run(): Promise { let i = 0 for (const artifact of artifacts) { if (artifact.endsWith('.app')) { - await execCommand(`tar -czf ${artifact}.tgz ${artifact}`, { + await execCommand(`tar czf ${artifact}.tgz ${artifact}`, { cwd: undefined }) artifacts[i] += '.tgz'