Mohammed Naser | eb46b6c | 2022-08-29 21:45:29 -0400 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | gh api \ | ||||
4 | --header "Accept: application/vnd.github+json" \ | ||||
5 | --jq '.actions_caches[].id' \ | ||||
6 | --paginate \ | ||||
Mohammed Naser | 239772e | 2022-08-29 23:42:54 -0400 | [diff] [blame] | 7 | /repos/vexxhost/atmosphere/actions/caches | |
8 | xargs -P10 -I {} /bin/bash -xec "gh api --method DELETE /repos/vexxhost/atmosphere/actions/caches/{} 2>&1 >/dev/null" |