It would be great to have a convenience function to clear the build cache, at least until AppVeyor provides a Large Handy Button.
appveyor/ci#985
This is the API call:
DELETE https://ci.appveyor.com/api/projects/{accountName}/{projectSlug}/buildcache
so the main point would be to send the appropriate Bearer token in the header. I myself am using GitHub for auth, so now I'm going to try to figure out what that should be ...
Update: this seems to work but requires your AppVeyor API token:
export APPVEYOR_TOKEN="abcdefghijklmnopqrstuvwxyz"
curl -X "DELETE" -H "Authorization: Bearer $APPVEYOR_TOKEN" -H "Content-Type: application/json" https://ci.appveyor.com/api/projects/{accountName}/{projectSlug}/buildcache
but I wonder if there's a way to somehow do this with a GITHUB_PAT.
It would be great to have a convenience function to clear the build cache, at least until AppVeyor provides a Large Handy Button.
appveyor/ci#985
This is the API call:
so the main point would be to send the appropriate Bearer token in the header. I myself am using GitHub for auth, so now I'm going to try to figure out what that should be ...
Update: this seems to work but requires your AppVeyor API token:
but I wonder if there's a way to somehow do this with a
GITHUB_PAT.