ci: enable keep-going for building packages

This commit is contained in:
Gabriel Arazas 2022-08-29 00:01:21 +08:00
parent 7cdadd4a04
commit 9c219e667b

View File

@ -23,6 +23,8 @@ jobs:
- uses: cachix/install-nix-action@v16 - uses: cachix/install-nix-action@v16
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
keep-going = true
- name: Prepare push to binary cache - name: Prepare push to binary cache
uses: cachix/cachix-action@v10 uses: cachix/cachix-action@v10
if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
@ -39,6 +41,8 @@ jobs:
- uses: cachix/install-nix-action@v16 - uses: cachix/install-nix-action@v16
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
keep-going = true
- name: Build NixOS configurations - name: Build NixOS configurations
run: | run: |
nix build .#nixosConfigurations.ni.config.system.build.toplevel --impure nix build .#nixosConfigurations.ni.config.system.build.toplevel --impure