Skip to content

Instantly share code, notes, and snippets.

@bast
Created July 20, 2018 14:40
Show Gist options
  • Save bast/b93411f8f7cab42cc66b032322cb034c to your computer and use it in GitHub Desktop.
Save bast/b93411f8f7cab42cc66b032322cb034c to your computer and use it in GitHub Desktop.
Delete Appveyor cache using curl.
#!/usr/bin/env bash
# adjust APPVEYOR_TOKEN, username, and projectname
APPVEYOR_TOKEN=....................
curl -H "Authorization: Bearer $APPVEYOR_TOKEN" \
-H "Content-Type: application/json" \
-X "DELETE" \
https://ci.appveyor.com/api/projects/username/projectname/buildcache
@robertodr
Copy link

Thank you! 🐙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment