roc/.github/workflows/ci_cleanup_nix_mac.yml
2025-03-21 16:39:03 +01:00

20 lines
481 B
YAML

on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
name: Clean up nix on mac mini m1
# Do not add permissions here! Configure them at the job level!
permissions: {}
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.*