2022-03-02 03:12:50 +01:00
|
|
|
# Publish the Nix flake outputs to Cachix
|
|
|
|
name: Cachix
|
|
|
|
on:
|
2022-03-02 03:18:29 +01:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2022-03-02 03:12:50 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish:
|
|
|
|
name: Publish Flake
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
2023-09-05 15:51:19 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-03-02 03:12:50 +01:00
|
|
|
|
|
|
|
- name: Install nix
|
2024-10-01 03:04:21 +02:00
|
|
|
uses: cachix/install-nix-action@v29
|
2022-03-02 03:12:50 +01:00
|
|
|
|
|
|
|
- name: Authenticate with Cachix
|
2024-05-21 18:21:53 +02:00
|
|
|
uses: cachix/cachix-action@v15
|
2022-03-02 03:12:50 +01:00
|
|
|
with:
|
|
|
|
name: helix
|
|
|
|
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
|
|
|
|
|
|
|
- name: Build nix flake
|
2022-09-03 00:54:07 +02:00
|
|
|
run: nix build -L
|