Skip to content

chore(deps): update determinatesystems/nix-installer-action action to v14 #443

chore(deps): update determinatesystems/nix-installer-action action to v14

chore(deps): update determinatesystems/nix-installer-action action to v14 #443

Workflow file for this run

name: build
on:
pull_request:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: 'jamie-desktop'
path: 'nixosConfigurations."jamie-desktop".config.system.build.toplevel'
- name: 'rpi'
path: 'nixosConfigurations."rpi".config.system.build.toplevel'
- name: 'jamie-hyperv'
path: 'nixosConfigurations."jamie-hyperv".config.system.build.toplevel'
- name: 'alfred'
path: 'nixosConfigurations."alfred".config.system.build.toplevel'
- name: 'jamie@alfred'
path: 'homeConfigurations."jamie@alfred".activationPackage'
- name: 'jamie@rpi'
path: 'homeConfigurations."jamie@rpi".activationPackage'
- name: 'jamie@generic'
path: 'homeConfigurations."jamie@generic".activationPackage'
steps:
- name: Checkout repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Setup QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3
- name: Install nix
uses: DeterminateSystems/nix-installer-action@da36cb69b1c3247ad7a1f931ebfd954a1105ef14 # v14
with:
extra-conf: |
extra-platforms = aarch64-linux i686-linux
- name: Use cache
uses: DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738 # v7
- name: Build ${{ matrix.name }}
run: nix build ".#"${{ matrix.path }}