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

15 lines
404 B
YAML
Raw Normal View History

name: Nix (CI)
2023-09-10 20:51:13 +02:00
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
2023-09-10 20:51:13 +02:00
secrets: inherit
build:
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork)
2023-09-10 20:51:13 +02:00
uses: ./.github/workflows/nix-build.yml
secrets: inherit