CI: use cachix nix installer

DetSys one is often inconsistent
This commit is contained in:
NotAShelf
2024-06-03 20:24:02 +03:00
parent 4064b0b4a7
commit 8d431d792a

View File

@@ -45,17 +45,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/install-nix-action@v26
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_TOKEN }}
extraPullNames: nix-community
name: anyrun
- name: Set default git branch (to reduce log spam)
run: git config --global init.defaultBranch main
- name: Build anyrun from the defined matrix
run: nix build .#${{ matrix.package }} --print-build-logs
run: nix build .#${{ matrix.package }} --print-build-logs --extra-substituters "https://anyrun.cachix.org"