forked from google-github-actions/upload-cloud-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (32 loc) · 1.06 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
name: Cloud Storage Uploader
description: Upload files or folders to GCS buckets
author: Google LLC
inputs:
credentials:
description: |-
Optional service account key to use for authentication to GCS. This should be the JSON
formatted private key which can be exported from the Cloud Console. The
value can be raw or base64-encoded.
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
root:
description: |-
Upload the contents of a directory, but not the directory itself. Defaults to false.
required: false
runs:
using: "node12"
main: "dist/index.js"