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

29 lines
708 B
YAML
Raw Normal View History

name: Nix (Build)
2023-09-10 20:51:13 +02:00
on:
workflow_call:
secrets:
CACHIX_AUTH_TOKEN:
required: false
jobs:
build:
strategy:
matrix:
package:
- hyprland
2024-06-11 17:49:12 +02:00
- hyprland-cross
2023-09-10 20:51:13 +02:00
- xdg-desktop-portal-hyprland
runs-on: ubuntu-latest
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v15
2023-09-10 20:51:13 +02:00
with:
name: hyprland
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
2023-09-10 20:51:13 +02:00
- run: nix build 'git+https://github.com/hyprwm/Hyprland?ref=${{ github.ref }}#${{ matrix.package }}' -L --extra-substituters "https://hyprland.cachix.org"