Skip to content

Commit

Permalink
add a cache delete action
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushshah15 committed Nov 24, 2024
1 parent e1ff8d4 commit e72e5ff
Show file tree
Hide file tree
Showing 9 changed files with 1,206 additions and 5,171 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ on:
jobs:
test-action:
name: Test Action
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-14, windows-2022]
runs-on: blacksmith
steps:
- name: Checkout Action
uses: actions/[email protected]
Expand Down
19 changes: 10 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# TODO: Modify the following metadata according to the project's specifications.

name: Mkdir Action
author: Alfi Maulana
description: Create a new directory
name: "Delete Blacksmith Cache"
author: Aayush Shah
description: "Deletes a cache or specific cache version from Blacksmith"
branding:
icon: folder-plus
color: black
inputs:
path:
description: Path of the directory to create
key:
description: "The cache key to delete"
required: true
version:
description: "Specific version of the cache to delete (optional)"
required: false
runs:
using: node20
main: dist/main.bundle.mjs
using: "node20"
main: "dist/index.js"
44 changes: 44 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e72e5ff

Please sign in to comment.