Merge pull request #183 from DeterminateSystems/push-ruywpoonkxqk

Don't except if nix flake update fails
This commit is contained in:
Graham Christensen 2025-05-13 09:32:50 -04:00 committed by GitHub
commit 11e4dfb59a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

3
dist/index.js vendored
View File

@ -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) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -54,6 +54,7 @@ class UpdateFlakeLockAction extends DetSysAction {
const execOptions: actionsExec.ExecOptions = {
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : undefined,
ignoreReturnCode: true,
};
const exitCode = await actionsExec.exec("nix", nixCommandArgs, execOptions);