Skip to content

ci: add cachix workflow (#740) #1

ci: add cachix workflow (#740)

ci: add cachix workflow (#740) #1

Workflow file for this run

# Publish the Nix flake outputs to Cachix
name: Cachix
on:
push:
branches:
- main
jobs:
publish:
name: Publish Flake
runs-on: [ubuntu-latest, macos-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v25
- name: Authenticate with Cachix
uses: cachix/cachix-action@v14
with:
name: yazi
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build nix flake
run: nix build -L