fix workflow

This commit is contained in:
Osman Faruk Bayram 2025-10-24 09:39:52 +03:00
parent fa82615d11
commit 78fe6eb4d2

View file

@ -6,12 +6,13 @@ on:
push: push:
jobs: jobs:
build-sd-image: build-app:
runs-on: ubuntu-24.04 # use a matrix of (app, system, runner) so we build the appropriate
# all 2 apps matrix smouldering durtles and mihon # flake output for the runner OS. this runs 4 jobs: two apps x two systems.
strategy:
matrix: matrix:
app: [smouldering_durtles, mihon] app-name: [smouldering_durtles, mihon]
runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -19,5 +20,10 @@ jobs:
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@v31 uses: cachix/install-nix-action@v31
- name: Build SD image - name: Show flake outputs (debug)
run: nix build -L ".#${{ matrix.app }}" run: nix flake show
- name: Build package
run: |
# build the system-specific package produced by the flake
nix build -L ".#${{ matrix.app-name }}"