mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
parent
82071bd06b
commit
809af775bf
1 changed files with 26 additions and 0 deletions
26
.github/workflows/cachix.yml
vendored
Normal file
26
.github/workflows/cachix.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Publish the Nix flake outputs to Cachix
|
||||||
|
name: Cachix
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
name: Publish Flake
|
||||||
|
runs-on: ubuntu-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
|
||||||
Loading…
Add table
Reference in a new issue