Unified · Split
| @@ -93,8 +93,6 @@ jobs: · 92 unmodified lines | |||
| 93 | nix: | 93 | nix: |
| 94 | runs-on: ${{ matrix.os }} | 94 | runs-on: ${{ matrix.os }} |
| 95 | timeout-minutes: 90 | 95 | timeout-minutes: 90 |
| 96 | env: | ||
| 97 | HAS_CACHIX_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN != '' }} | ||
| 98 | strategy: | 96 | strategy: |
| 99 | matrix: | 97 | matrix: |
| 100 | os: | 98 | os: |
| @@ -113,9 +111,7 @@ jobs: · 12 unmodified lines | |||
| 113 | with: | 111 | with: |
| 114 | extra-conf: trusted-users = root runner | 112 | extra-conf: trusted-users = root runner |
| 115 | 113 | ||
| 116 | - name: Setup Cachix | 114 | - uses: cachix/cachix-action@v17 |
| 117 | if: env.HAS_CACHIX_TOKEN == 'true' | ||
| 118 | uses: cachix/cachix-action@v17 | ||
| 119 | with: | 115 | with: |
| 120 | name: autc04 | 116 | name: autc04 |
| 121 | authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | 117 | authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} |