Skip to content

Commit

Permalink
CI/Nix: build with submodules
Browse files Browse the repository at this point in the history
- Clone repo recursively
- Update Nix install action
  • Loading branch information
fufexan committed Apr 21, 2024
1 parent 1b676bf commit d765b51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
submodules: recursive

- uses: cachix/install-nix-action@v25
- uses: cachix/install-nix-action@v26
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v12
with:
name: hyprland
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- run: nix build .#${{ matrix.package }} -L
- run: nix build '.?submodules=1#${{ matrix.package }}' -L

0 comments on commit d765b51

Please sign in to comment.