/cache-delete-action

Delete GitHub Actions caches for a given key.

Primary LanguageTypeScriptMIT LicenseMIT

Cache Delete Action

GitHub Release CI Build

Delete GitHub Actions caches for a given key.

Usage

uses: koki-develop/cache-delete-action@v1
with:
  key: '<cache-key>'

Inputs

Name Default Required Description
key Yes A key for identifying the cache.
ref No By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.
token ${{ github.token }} No The token to use to delete the cache.
fail-on-not-found false No Whether to fail the action if the cache is not found.

LICENSE

MIT