mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-17 15:26:01 +01:00
15 lines
469 B
YAML
15 lines
469 B
YAML
name: Nix (CI)
|
|
|
|
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: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork) && !contains(needs.*.result, 'failure')
|
|
needs: update-inputs
|
|
uses: ./.github/workflows/nix-build.yml
|
|
secrets: inherit
|