2023-09-10 21:51:13 +03:00
|
|
|
name: Nix
|
|
|
|
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
|
|
|
|
jobs:
|
2024-04-21 20:13:59 +03:00
|
|
|
update-inputs:
|
2024-05-10 23:51:53 +01:00
|
|
|
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
2024-04-21 20:13:59 +03:00
|
|
|
uses: ./.github/workflows/nix-update-inputs.yml
|
2023-09-10 21:51:13 +03:00
|
|
|
secrets: inherit
|
|
|
|
|
|
|
|
build:
|
2023-09-12 11:48:30 +03:00
|
|
|
if: always() && !cancelled() && !contains(needs.*.result, 'failure')
|
2024-04-21 20:13:59 +03:00
|
|
|
needs: update-inputs
|
2023-09-10 21:51:13 +03:00
|
|
|
uses: ./.github/workflows/nix-build.yml
|
|
|
|
secrets: inherit
|