Clean up nix on mac mini m1 #299
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 5 * * *' | |
name: Clean up nix on mac mini m1 | |
jobs: | |
clean-mac-mini-arm64: | |
runs-on: [self-hosted, macOS, ARM64] | |
timeout-minutes: 120 | |
steps: | |
- name: Clean up nix store | |
run: nix-store --gc | |
- name: Clean up old nix shells | |
run: rm -rf /private/tmp/nix-shell.* |