mirror of https://github.com/helix-editor/helix
add workflow for pushing nix flake artifacts to Cachix (#1721)
* add workflow for pushing nix flake artifacts to Cachix * add docs on using the cachix cache from nix * remove submodule clone from cachix workflow * remove flake checkpull/1729/head
parent
a76e94848a
commit
227e0108e9
@ -0,0 +1,24 @@
|
|||||||
|
# Publish the Nix flake outputs to Cachix
|
||||||
|
name: Cachix
|
||||||
|
on:
|
||||||
|
push: master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
name: Publish Flake
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout sources
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install nix
|
||||||
|
uses: cachix/install-nix-action@v16
|
||||||
|
|
||||||
|
- name: Authenticate with Cachix
|
||||||
|
uses: cachix/cachix-action@v10
|
||||||
|
with:
|
||||||
|
name: helix
|
||||||
|
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build nix flake
|
||||||
|
run: nix build
|
Loading…
Reference in New Issue