Skip to content

Commit

Permalink
push to cachix? 🤷
Browse files Browse the repository at this point in the history
  • Loading branch information
adtya committed May 24, 2024
1 parent f3374e0 commit ed5eab6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/cachix.yaml
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion govarnam/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ buildGoModule rec {

nativeBuildInputs = [ pkg-config libgovarnam ];


ldflags = [
"-w"
"-s"
Expand Down

0 comments on commit ed5eab6

Please sign in to comment.