blob: bf88bf0137b15c5bcdc720aecc3d9a25235c8b1c [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 \
7 /repos/vexxhost/atmosphere-images/actions/caches |
8 xargs -P10 -I {} /bin/bash -xec "gh api --method DELETE /repos/vexxhost/atmosphere-images/actions/caches/{} 2>&1 >/dev/null"