Skip to content

Commit a2caec6

Browse files
committed
fix nix cleanup workflow
1 parent ecf9130 commit a2caec6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
run: echo "PATH=$PATH:/nix/var/nix/profiles/default/bin" >> $GITHUB_ENV
2020
- name: Cleanup the Nix store
2121
run: |
22+
nix-store --gc
2223
nix-store --optimise
23-
nix-store --gc --print-dead
2424

.github/workflows/nix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
run: echo "PATH=$PATH:/nix/var/nix/profiles/default/bin" >> $GITHUB_ENV
1515
- name: Cleanup the Nix store
1616
run: |
17+
nix-store --gc
1718
nix-store --optimise
18-
nix-store --gc --print-dead
1919

0 commit comments

Comments
 (0)