GitHub action for deleting cache with a specified key.
Delete the cache with a specific key:
- uses: prantlf/delete-cache-action@v2
with:
key: newchanges-linux-x64.zip-${{ github.sha }}
The following parameters can be specified using the with
object:
Type: String
The cache key to delete. Mandatory.
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.
Copyright (C) 2023 Ferdinand Prantl
Licensed under the MIT License.