mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 04:31:57 -07:00
26 lines
487 B
YAML
26 lines
487 B
YAML
name: Build
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
command:
|
|
required: true
|
|
type: string
|
|
description: Command to run
|
|
secrets:
|
|
CACHIX_AUTH_TOKEN:
|
|
required: false
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
|
|
- uses: cachix/cachix-action@v15
|
|
with:
|
|
name: hyprland
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
|
|
- run: ${{ inputs.command }}
|