Skip to content

Commit

Permalink
Merge pull request #1925 from o1-labs/fix/nix-gc
Browse files Browse the repository at this point in the history
Cleanup runner's Nix store after the o1js bindings build procedure.
  • Loading branch information
shimkiv authored Nov 27, 2024
2 parents 19f0cef + 67c2814 commit 7476d6c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ jobs:
set -Eeu
./pin.sh
nix develop o1js --command bash -c "npm run build:update-bindings"
- name: Cleanup the Nix store
run: |
nix-env --delete-generations old
nix-collect-garbage -d --quiet
nix-store --gc --print-dead
nix-store --optimise

0 comments on commit 7476d6c

Please sign in to comment.