A convenient one liner to empty all caches for a repository.
The gh
CLI and actions-cache
extension must be installed. To install the extension, run:
gh extension install actions/gh-actions-cache
gh actions-cache list | tail -n +5 | cut -f1 | xargs -I@ gh actions-cache delete @ --confirm
TODO