mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 09:34:11 +02:00
commit
8580a77df6
3 changed files with 7 additions and 2 deletions
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
|
|
@ -986,7 +986,7 @@ function run() {
|
|||
const authToken = core.getInput('authToken');
|
||||
const cachixExecutable = "/nix/var/nix/profiles/per-user/runner/profile/bin/cachix";
|
||||
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();
|
||||
// for private caches
|
||||
if (authToken !== "") {
|
||||
|
|
|
|||
5
shell.nix
Normal file
5
shell.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
with pkgs;
|
||||
mkShell {
|
||||
nativeBuildInputs = [ yarn ];
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@ async function run() {
|
|||
const cachixExecutable = "/nix/var/nix/profiles/per-user/runner/profile/bin/cachix";
|
||||
|
||||
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()
|
||||
|
||||
// for private caches
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue