diff --git a/dist/index.js b/dist/index.js index 76d6d1c..bb98f13 100644 --- a/dist/index.js +++ b/dist/index.js @@ -91182,7 +91182,8 @@ var UpdateFlakeLockAction = class extends DetSysAction { }) ); const execOptions = { - cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : void 0 + cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : void 0, + ignoreReturnCode: true }; const exitCode = await exec.exec("nix", nixCommandArgs, execOptions); if (exitCode !== 0) { diff --git a/dist/index.js.map b/dist/index.js.map index faa1733..2e2062e 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"sources":["../src/nix.ts","../src/index.ts"],"sourcesContent":["// Build the Nix args out of inputs from the Actions environment\nexport function makeNixCommandArgs(\n nixOptions: string[],\n flakeInputs: string[],\n commitMessage: string,\n): string[] {\n const flakeInputFlags = flakeInputs.flatMap((input) => [\n \"--update-input\",\n input,\n ]);\n\n // NOTE(cole-h): In Nix versions 2.23.0 and later, `commit-lockfile-summary` became an alias to\n // the setting `commit-lock-file-summary` (https://github.com/NixOS/nix/pull/10691), and Nix does\n // not treat aliases the same as their \"real\" setting by requiring setting aliases to be\n // configured via `--option