Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32824,7 +32824,7 @@ var external_util_ = __nccwpck_require__(9023);



const execAsync = (0,external_util_.promisify)(external_child_process_.exec);
const execFileAsync = (0,external_util_.promisify)(external_child_process_.execFile);
class MacOsInstaller extends CliInstaller {
platform = "darwin"; // Node.js platform identifier for macOS
constructor(version) {
Expand All @@ -32841,7 +32841,7 @@ class MacOsInstaller extends CliInstaller {
const pkgWithExtension = `${pkgPath}.pkg`;
external_fs_.renameSync(pkgPath, pkgWithExtension);
const expandDir = "temp-pkg";
await execAsync(`pkgutil --expand "${pkgWithExtension}" "${expandDir}"`);
await execFileAsync("pkgutil", ["--expand", pkgWithExtension, expandDir]);
const payloadPath = external_path_.join(expandDir, "op.pkg", "Payload");
console.info("Installing 1Password CLI");
const cliPath = await tool_cache.extractTar(payloadPath);
Expand Down
11 changes: 2 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "install-cli-action",
"version": "2.0.1",
"version": "2.0.2",
"description": "Install 1Password CLI into your GitHub Actions jobs",
"main": "dist/index.js",
"type": "module",
Expand Down