forked from MansaGroup/gcs-cache-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
40 lines (36 loc) · 920 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: 'Google Cloud Storage Cache'
author: 'MansaGroup'
description: 'Cache your workload to a Google Cloud Storage bucket'
inputs:
bucket:
description: Name of the bucket to store the cache into
required: true
path:
description: Paths to store
required: true
key:
description: Key to use as cache identifier
required: true
restore-keys:
description: Substitution keys to use when cache miss
default: ''
required: false
compression-method:
description: Compression method for the archive (gzip or zstd)
default: ''
required: false
key-file-name:
description: GCS auth key file path
default: ''
required: false
outputs:
cache-hit:
description: Whether the cache was successfuly restored
runs:
using: 'node16'
main: 'dist/main/index.js'
post: 'dist/post/index.js'
post-if: 'success()'
branding:
icon: 'hard-drive'
color: 'blue'