Skip to main content

clean

v0.11

The moon clean command will clean the current workspace by deleting stale cache. For the most part, the action runner will clean automatically, but this command can be used to reset the workspace entirely.

$ moon clean

# Delete cache with a custom lifetime
$ moon clean --lifetime '24 hours'

Options

  • --lifetime - The maximum lifetime of cached artifacts before being marked as stale. Defaults to "7 days".