Socket
Book a DemoInstallSign in
Socket

delete-cache-action

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

delete-cache-action

GitHub action for deleting cache with a specified key.

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

Delete Cache

Latest version Dependency status

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.

Keywords

github-actions

FAQs

Package last updated on 07 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts