diff --git a/dist/index.js b/dist/index.js index 4fe50bc..5feb7ae 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31117,7 +31117,7 @@ async function installPowerPoint(installerPath) { core.startGroup('Install Microsoft PowerPoint'); try { core.info('Installing Microsoft PowerPoint application...'); - const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/Applications']); + const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/']); if (exitCode !== 0) { throw new Error(`Microsoft PowerPoint installation failed with code ${exitCode}.`); } diff --git a/src/index.js b/src/index.js index e66c40c..69bd485 100644 --- a/src/index.js +++ b/src/index.js @@ -79,7 +79,7 @@ async function installPowerPoint(installerPath) { core.startGroup('Install Microsoft PowerPoint'); try { core.info('Installing Microsoft PowerPoint application...'); - const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/Applications']); + const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/']); if (exitCode !== 0) { throw new Error(`Microsoft PowerPoint installation failed with code ${exitCode}.`); }