Hyprland/.github/workflows/nix-ci.yml
2024-07-27 21:46:47 +03:00

21 lines
552 B
YAML

name: Nix
on: [push, pull_request, workflow_dispatch]
jobs:
update-inputs:
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
concurrency:
group: nixupdateinputs
cancel-in-progress: true
uses: ./.github/workflows/nix-update-inputs.yml
secrets: inherit
build:
if: always() && !cancelled() && !contains(needs.*.result, 'failure')
concurrency:
group: nixbuild
cancel-in-progress: true
needs: update-inputs
uses: ./.github/workflows/nix-build.yml
secrets: inherit