delete-cache-action
v3.0.0
Published
GitHub action for deleting cache with a specified key.
Downloads
5
Maintainers
Readme
Delete Cache
GitHub action for deleting cache with a specified key.
Usage
Delete the cache with a specific key:
- uses: prantlf/delete-cache-action@v2
with:
key: newchanges-linux-x64.zip-${{ github.sha }}
Inputs
The following parameters can be specified using the with
object:
key
Type: String
The cache key to delete. Mandatory.
token
Type: String
Default: ${{ github.token }}
Authorization token to access the cache in the target repository. Either a GitHub personal access token or the GitHub workflow token. If not provided, the environment variable GITHUB_TOKEN
will be used as a fallback. And if even that is not set, the GitHub workflow token from the action-execution context will be used as default.
License
Copyright (C) 2023-2024 Ferdinand Prantl
Licensed under the MIT License.