-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
42 lines (42 loc) · 1.16 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "cloud cache"
author: everpcpc
description: "Actions cache to multiple cloud provider with OpenDAL."
inputs:
provider:
description: "Storage provider"
required: true
default: "s3"
endpoint:
description: "Storage provider endpoint"
required: false
bucket:
description: "Storage backend bucket"
required: true
root:
description: "Root directory for all cache files"
required: false
default: ""
path:
description: "A list of files, directories, and wildcard patterns to cache and restore"
required: true
key:
description: "An explicit key for restoring and saving the cache"
required: true
restore-keys:
description: "An ordered list of keys to use for restoring the cache if no cache hit occurred for key"
required: false
use-fallback:
description: "Use github actions/cache as fallback"
required: false
default: "false"
outputs:
cache-hit:
description: "A boolean value to indicate an exact match was found for the primary key"
runs:
using: node20
main: "dist/restore/index.js"
post: "dist/save/index.js"
post-if: "success()"
branding:
icon: "archive"
color: "gray-dark"