blob: 103264ea597ceb149a54bbbdfe442a4c3f72483a [file] [log] [blame]
Mohammed Nasereb46b6c2022-08-29 21:45:29 -04001#!/bin/bash
2
3gh api \
4 --header "Accept: application/vnd.github+json" \
5 --jq '.actions_caches[].id' \
6 --paginate \
Mohammed Naser239772e2022-08-29 23:42:54 -04007 /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"