blob: 103264ea597ceb149a54bbbdfe442a4c3f72483a [file] [log] [blame]
#!/bin/bash
gh api \
--header "Accept: application/vnd.github+json" \
--jq '.actions_caches[].id' \
--paginate \
/repos/vexxhost/atmosphere/actions/caches |
xargs -P10 -I {} /bin/bash -xec "gh api --method DELETE /repos/vexxhost/atmosphere/actions/caches/{} 2>&1 >/dev/null"