2023-09-10 20:51:13 +02:00
|
|
|
name: Nix
|
|
|
|
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
|
|
|
|
jobs:
|
2024-04-21 19:13:59 +02:00
|
|
|
update-inputs:
|
2024-07-27 20:18:22 +02:00
|
|
|
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)
|
2024-04-21 19:13:59 +02:00
|
|
|
uses: ./.github/workflows/nix-update-inputs.yml
|
2023-09-10 20:51:13 +02:00
|
|
|
secrets: inherit
|
|
|
|
|
|
|
|
build:
|
2024-07-27 20:18:22 +02:00
|
|
|
if: (always() && !cancelled() && !contains(needs.*.result, 'failure')) && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)
|
2024-04-21 19:13:59 +02:00
|
|
|
needs: update-inputs
|
2023-09-10 20:51:13 +02:00
|
|
|
uses: ./.github/workflows/nix-build.yml
|
|
|
|
secrets: inherit
|