Skip to content

Commit

Permalink
Add cachix action
Browse files Browse the repository at this point in the history
  • Loading branch information
vlinkz committed Mar 3, 2024
1 parent a8306f7 commit 805e65e
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 206 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cachix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
branches: [main]
workflow_dispatch:
jobs:
lints:
name: Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v9
- uses: DeterminateSystems/magic-nix-cache-action@v3
- uses: cachix/cachix-action@v14
with:
name: snowflakeos
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
pathsToPush: |
libsnow-generators
- run: |
nix build . -o libsnow-generators
Loading

0 comments on commit 805e65e

Please sign in to comment.