summaryrefslogtreecommitdiff
path: root/.github/actions/setup-nix/action.yaml
blob: 8afecd1486f4b76c694f4be162b7db5b3bd94004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: "setup nix & cachix"
description: "setup nix and cachix"
inputs:
  cachix-token:
    description: "cachix auth token"
    default: ""
    required: false

runs:
  using: "composite"
  steps:
    - uses: cachix/install-nix-action@v21

    - uses: cachix/cachix-action@v12
      with:
        name: getchoo
        authToken: ${{ inputs.cachix-token }}