aux-search/.github/actions/common-setup/action.yml
Naïm Favier 5798bb000e
Show default outputs (#452)
* Show default outputs

Following https://github.com/NixOS/nix/pull/6242, we now have access to
default outputs so we can single them out in the frontend.

We can also drop `--out-path`, which speeds up import quite a lot and
doesn't require increasing swap space or allowing broken/unfree
packages anymore.

* Use nixUnstable in CI

* Bump VERSION
2022-03-27 15:52:54 +02:00

24 lines
550 B
YAML

name: Setup Environment
inputs:
CACHIX_SIGNING_KEY: # determines what node version to install
required: true
description: 'Cachix Signing Key'
runs:
using: "composite"
steps:
- name: Installing Nix
uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- uses: cachix/cachix-action@v10
with:
name: nixos-search
signingKey: '${{ inputs.CACHIX_SIGNING_KEY }}'
- name: Installing jq
shell: bash
run: |
nix-env -f '<nixpkgs>' -iA jq