Make cachix install quiet

Since this mainly downloads dependencies, removing it, removes some noise.
This commit is contained in:
Jörg Thalheim 2020-04-14 12:36:47 +01:00
commit 36fc8c5254
No known key found for this signature in database
GPG key ID: 003F2096411B5F92
2 changed files with 2 additions and 2 deletions

2
dist/main/index.js vendored
View file

@ -986,7 +986,7 @@ function run() {
const authToken = core.getInput('authToken'); const authToken = core.getInput('authToken');
const cachixExecutable = "/nix/var/nix/profiles/per-user/runner/profile/bin/cachix"; const cachixExecutable = "/nix/var/nix/profiles/per-user/runner/profile/bin/cachix";
core.startGroup('Cachix: installing'); core.startGroup('Cachix: installing');
yield exec.exec('nix-env', ['-iA', 'cachix', '-f', 'https://cachix.org/api/v1/install']); yield exec.exec('nix-env', ['--quiet', '-iA', 'cachix', '-f', 'https://cachix.org/api/v1/install']);
core.endGroup(); core.endGroup();
// for private caches // for private caches
if (authToken !== "") { if (authToken !== "") {

View file

@ -17,7 +17,7 @@ async function run() {
const cachixExecutable = "/nix/var/nix/profiles/per-user/runner/profile/bin/cachix"; const cachixExecutable = "/nix/var/nix/profiles/per-user/runner/profile/bin/cachix";
core.startGroup('Cachix: installing') core.startGroup('Cachix: installing')
await exec.exec('nix-env', ['-iA', 'cachix', '-f', 'https://cachix.org/api/v1/install']); await exec.exec('nix-env', ['--quiet', '-iA', 'cachix', '-f', 'https://cachix.org/api/v1/install']);
core.endGroup() core.endGroup()
// for private caches // for private caches