mirror of
https://github.com/nix-packages/nixapks.git
synced 2025-12-10 11:01:14 +01:00
fix workflow
This commit is contained in:
parent
fa82615d11
commit
78fe6eb4d2
1 changed files with 14 additions and 8 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
|
@ -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 }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue