forked from namespacelabs/nscloud-cache-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
26 lines (26 loc) · 903 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: "Cache"
description: "Cache artifacts like dependencies and build outputs to a Namespace Cloud cache volume to improve workflow execution time."
author: "Namespace Labs"
inputs:
path:
description: "A list of files, directories, and wildcard patterns to cache and restore"
required: false
# key:
# description: "An explicit key for restoring and saving the cache"
# required: false
fail-on-cache-miss:
description: "Fail the workflow if cache entry is not found"
default: "false"
required: false
cache:
description: "A list of native cache modes. Supported options are 'go,yarn,rust,python,gradle,maven,composer,poetry'"
required: false
outputs:
cache-hit:
description: "A boolean value to indicate an exact match was found for the primary key"
runs:
using: "node20"
main: "dist/index/index.js"
branding:
icon: "archive"
color: "gray-dark"