forked from whalemare/minio-cache
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
42 lines (40 loc) · 1.09 KB
/
action.yml
File metadata and controls
42 lines (40 loc) · 1.09 KB
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: "Minio cache"
author: proxyqb
description: "S3 actions cache with actions/cache@v2 passthrough"
inputs:
endpoint:
description: "s3 / minio endpoint, see: https://docs.min.io/docs/javascript-client-api-reference.html"
required: false
default: s3.amazonaws.com
port:
description: minio port
required: false
insecure:
description: use insecure http connection to minio
required: false
accessKey:
description: s3 / minio accessKey
required: true
secretKey:
description: s3 / minio secretKey
required: true
bucket:
description: s3 / minio bucket
required: true
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
outputs:
cache-hit:
description: "A boolean value to indicate an exact match was found for the primary key"
runs:
using: node16
main: "dist/restore/index.js"
post: "dist/save/index.js"
post-if: "success()"
branding:
icon: "archive"
color: "gray-dark"