/
action.yml
67 lines (64 loc) · 1.75 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Cloud Storage Uploader
description: Upload files or folders to GCS buckets
author: Google LLC
inputs:
project_id:
description: |-
Project ID to use for making requests. By default, this is extracted from
the running environment.
required: false
path:
description: |-
The path to a file or folder inside the action's filesystem
that should be uploaded to the bucket.
You can specify either the absolute path or the relative path from the action.
required: true
destination:
description: |-
GCS bucket name of form <bucketname> or with an optional prefix
of form <bucketname>/<prefix>
required: true
gzip:
description: |-
Upload file(s) with gzip content encoding, defaults to true.
required: false
default: true
resumable:
description: |-
Enable resumable uploads, defaults to true.
required: false
default: true
predefinedAcl:
description: |-
Apply a predefined set of access controls to the file(s).
required: false
parent:
description: |-
Whether parent dir should be included in GCS destination, defaults to true.
required: false
default: true
glob:
description: |-
Optional glob pattern.
required: false
concurrency:
description: |-
Number of files to simultaneously upload.
required: false
default: 100
headers:
description: |-
Set headers (object metadata).
required: false
process_gcloudignore:
description: |-
Process the .gcloudignore file in the root of the repository and do not
upload files that match the patterns.
required: false
default: true
branding:
icon: 'upload-cloud'
color: 'blue'
runs:
using: 'node20'
main: 'dist/index.js'