forked from Mirrors/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
513 B
YAML
27 lines
513 B
YAML
# Publish the Nix flake outputs to Cachix
|
|
name: Cachix
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
publish:
|
|
name: Publish Flake
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install nix
|
|
uses: cachix/install-nix-action@v17
|
|
|
|
- name: Authenticate with Cachix
|
|
uses: cachix/cachix-action@v10
|
|
with:
|
|
name: helix
|
|
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
|
|
|
- name: Build nix flake
|
|
run: nix build
|