Skip to content

Commit 97524b0

Browse files
committed
add a cache delete action
1 parent e1ff8d4 commit 97524b0

File tree

8 files changed

+1194
-5161
lines changed

8 files changed

+1194
-5161
lines changed

action.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# TODO: Modify the following metadata according to the project's specifications.
22

3-
name: Mkdir Action
3+
name: 'Delete Blacksmith Cache'
44
author: Alfi Maulana
5-
description: Create a new directory
5+
description: 'Deletes a cache or specific cache version from Blacksmith'
66
branding:
77
icon: folder-plus
88
color: black
99
inputs:
10-
path:
11-
description: Path of the directory to create
10+
key:
11+
description: 'The cache key to delete'
1212
required: true
13+
version:
14+
description: 'Specific version of the cache to delete (optional)'
15+
required: false
1316
runs:
14-
using: node20
15-
main: dist/main.bundle.mjs
17+
using: 'node20'
18+
main: 'dist/index.js'

dist/index.js

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)