Hyprland/.github/workflows/nix-ci.yml

22 lines
552 B
YAML
Raw Normal View History

2023-09-10 20:51:13 +02:00
name: Nix
on: [push, pull_request, workflow_dispatch]
jobs:
update-inputs:
2024-07-27 20:29:49 +02:00
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
2024-07-27 20:46:47 +02:00
concurrency:
group: nixupdateinputs
cancel-in-progress: true
uses: ./.github/workflows/nix-update-inputs.yml
2023-09-10 20:51:13 +02:00
secrets: inherit
build:
2024-07-27 20:29:49 +02:00
if: always() && !cancelled() && !contains(needs.*.result, 'failure')
2024-07-27 20:46:47 +02:00
concurrency:
group: nixbuild
cancel-in-progress: true
needs: update-inputs
2023-09-10 20:51:13 +02:00
uses: ./.github/workflows/nix-build.yml
secrets: inherit