mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 17:44:07 +02:00
find cachix executable by not hardcoding the user
This commit is contained in:
parent
38dc1a956d
commit
07abd5e5db
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ const extraPullNames = core.getInput('extraPullNames');
|
|||
const signingKey = core.getInput('signingKey');
|
||||
const authToken = core.getInput('authToken')
|
||||
const skipPush = core.getInput('skipPush');
|
||||
const cachixExecutable = '/nix/var/nix/profiles/per-user/runner/profile/bin/cachix';
|
||||
const cachixExecutable = process.env.HOME + '/.nix-profile/bin/cachix';
|
||||
const installCommand =
|
||||
core.getInput('installCommand') ||
|
||||
"nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue