Merge pull request #183 from DeterminateSystems/push-ruywpoonkxqk
Don't except if nix flake update fails
This commit is contained in:
commit
11e4dfb59a
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -91182,7 +91182,8 @@ var UpdateFlakeLockAction = class extends DetSysAction {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
const execOptions = {
|
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);
|
const exitCode = await exec.exec("nix", nixCommandArgs, execOptions);
|
||||||
if (exitCode !== 0) {
|
if (exitCode !== 0) {
|
||||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -54,6 +54,7 @@ class UpdateFlakeLockAction extends DetSysAction {
|
|||||||
|
|
||||||
const execOptions: actionsExec.ExecOptions = {
|
const execOptions: actionsExec.ExecOptions = {
|
||||||
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : undefined,
|
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : undefined,
|
||||||
|
ignoreReturnCode: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
const exitCode = await actionsExec.exec("nix", nixCommandArgs, execOptions);
|
const exitCode = await actionsExec.exec("nix", nixCommandArgs, execOptions);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user