This commit is contained in:
Domen Kožar 2019-10-03 15:33:27 +02:00
commit e1972a3e88
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
2 changed files with 3 additions and 5 deletions

View file

@ -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}`);