git.fiddlerwoaroof.com
Browse code

fix: install nix before cachix

Ed L authored on 01/09/2023 19:07:47
Showing 1 changed files
... ...
@@ -22,17 +22,17 @@ jobs:
22 22
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23 23
       - uses: actions/checkout@v3
24 24
 
25
+      - uses: cachix/install-nix-action@v22
26
+        with:
27
+          extra_nix_config: |
28
+            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
29
+
25 30
       - uses: cachix/cachix-action@v12
26 31
         with:
27 32
           name: data-lens
28 33
           authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
29 34
           extraPullNames: nix-community
30 35
 
31
-      - uses: cachix/install-nix-action@v22
32
-        with:
33
-          extra_nix_config: |
34
-            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
35
-
36 36
       # Runs a set of commands using the runners shell
37 37
       - name: setup deps
38 38
         run: |