Manually delete a BuildJet cache entry #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See <https://github.com/BuildJet/cache-delete>. Useful for debugging/solving | |
# caching issues. To identify the name of the cache key to delete, look for the line | |
# `Cache restored from key: <cache key>` in the logs of the caching step. | |
name: Manually delete a BuildJet cache entry | |
on: | |
workflow_dispatch: | |
inputs: | |
cache_key: | |
description: "BuildJet cache key to delete" | |
required: true | |
type: string | |
jobs: | |
manually-delete-buildjet-cache: | |
runs-on: buildjet-2vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: buildjet/cache-delete@v1 | |
with: | |
cache_key: ${{ inputs.cache_key }} |