push to cachix? 🤷

This commit is contained in:
Adithya 2024-05-24 20:34:57 +05:30
parent f3374e0e31
commit ed5eab69ef
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 25 additions and 1 deletions

25
.github/workflows/cachix.yaml vendored Normal file
View file

@ -0,0 +1,25 @@
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@V27
- name: Authenticate with Cachix
uses: cachix/cachix-action@v15
with:
name: varnam-nix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build nix flake
run: nix build -L .#libgovarnam .#fcitx5-varnam

View file

@ -23,7 +23,6 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config libgovarnam ];
ldflags = [
"-w"
"-s"