aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/nix-ci.yml
blob: a66307c4620e885a28b352f9e435f14e20dc739d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: Nix

on: [push, pull_request, workflow_dispatch]

jobs:
  update-inputs:
    if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
    uses: ./.github/workflows/nix-update-inputs.yml
    secrets: inherit

  build:
    if: always() && !cancelled() && !contains(needs.*.result, 'failure')
    needs: update-inputs
    uses: ./.github/workflows/nix-build.yml
    secrets: inherit