mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 17:44:07 +02:00
fix for #3
This commit is contained in:
parent
5e116bc9ac
commit
e1972a3e88
2 changed files with 3 additions and 5 deletions
|
|
@ -37,12 +37,12 @@ async function run() {
|
|||
},
|
||||
}
|
||||
};
|
||||
const args = prependEach('-A', nonEmptySplit(attributes, /\s/)).concat([file || "default.nix"]);
|
||||
const args = prependEach('-A', nonEmptySplit(attributes, /\s+/)).concat([file || "default.nix"]);
|
||||
await exec.exec('nix-build', args, options);
|
||||
core.endGroup()
|
||||
|
||||
core.startGroup(`Cachix: pushing to ` + name);
|
||||
await exec.exec('cachix', ['push', name].concat(nonEmptySplit(paths, /\s/).join(' ')));
|
||||
await exec.exec('cachix', ['push', name].concat(nonEmptySplit(paths, /\s+/)));
|
||||
core.endGroup()
|
||||
} catch (error) {
|
||||
core.setFailed(`Action failed with error: ${error}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue