mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-18 14:21:32 +03:00
f865910481
Co-authored-by: sxyazi <sxyazi@gmail.com>
28 lines
528 B
YAML
28 lines
528 B
YAML
name: Cachix
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
publish:
|
|
name: Publish Flake
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- 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 Flake
|
|
run: nix build -L
|