mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 17:44:07 +02:00
Merge pull request #60 from cachix/test-binary-dist
speed up cachix installation a bit
This commit is contained in:
commit
67df45d399
3 changed files with 3 additions and 3 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -74,5 +74,5 @@ jobs:
|
|||
with:
|
||||
name: cachix-action
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
installCommand: 'nix-env -f https://cachix.org/api/v1/install -iA cachix'
|
||||
installCommand: 'nix-env -j8 -f https://cachix.org/api/v1/install -iA cachix'
|
||||
- run: nix-build test.nix
|
||||
|
|
|
|||
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
|
|
@ -983,7 +983,7 @@ const authToken = core.getInput('authToken');
|
|||
const skipPush = core.getInput('skipPush');
|
||||
const cachixExecutable = '/nix/var/nix/profiles/per-user/runner/profile/bin/cachix';
|
||||
const installCommand = core.getInput('installCommand') ||
|
||||
"nix-env --quiet -iA cachix -f https://cachix.org/api/v1/install";
|
||||
"nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install";
|
||||
function setup() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ const skipPush = core.getInput('skipPush');
|
|||
const cachixExecutable = '/nix/var/nix/profiles/per-user/runner/profile/bin/cachix';
|
||||
const installCommand =
|
||||
core.getInput('installCommand') ||
|
||||
"nix-env --quiet -iA cachix -f https://cachix.org/api/v1/install";
|
||||
"nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install";
|
||||
|
||||
async function setup() {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue