Skip to content

Commit

Permalink
chore: Add cachix action for uploading binary cache artifacts (AztecP…
Browse files Browse the repository at this point in the history
…rotocol/barretenberg#373)

* chore: Add cachix action for uploading binary cache artifacts

* Only run the nix action on master

* run on my branch and remove todos

* Remove running on my branch
  • Loading branch information
phated authored Apr 24, 2023
1 parent 23559c1 commit 1510949
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion barretenberg/.github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Nix builds
on:
push:
branches:
- phated/**
- master
schedule:
- cron: "0 2 * * *" # run at 2 AM UTC
workflow_dispatch:
Expand Down Expand Up @@ -32,6 +32,11 @@ jobs:
nix_path: nixpkgs=channel:nixos-22.11
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- uses: cachix/cachix-action@v12
with:
name: barretenberg
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"

- name: Check nix flake
run: |
nix flake check
Expand Down

0 comments on commit 1510949

Please sign in to comment.