CI: clarify Nix CI jobs; disable on forked repositories

This commit is contained in:
NotAShelf
2024-08-31 13:51:19 +03:00
committed by Mihai Fufezan
parent 838ed87d6f
commit 10d7219807
3 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
name: Nix (Build)
on:
workflow_call:
secrets:
@@ -25,6 +27,6 @@ jobs:
- uses: cachix/cachix-action@v15
with:
name: hyprland
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix build '.?submodules=1#${{ matrix.package }}' -L --extra-substituters "https://hyprland.cachix.org"