forked from switchoapp/actions-cache-s3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (46 loc) · 1.52 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
name: 'Save a cache'
description: 'Save Cache artifacts like dependencies and build outputs to improve workflow execution time'
author: 'GitHub'
inputs:
path:
description: 'A list of files, directories, and wildcard patterns to cache'
required: true
key:
description: 'An explicit key for saving the cache'
required: true
upload-chunk-size:
description: 'The chunk size used to split up large files during upload, in bytes'
required: false
enableCrossOsArchive:
description: 'An optional boolean when enabled, allows windows runners to save caches that can be restored on other platforms'
default: 'false'
required: false
aws-s3-bucket:
description: 'An AWS S3 bucket to save cache'
required: true
aws-access-key-id:
description: 'An AWS access key id to access the bucket'
required: false
aws-secret-access-key:
description: 'An AWS secret access key to access the bucket'
required: false
aws-region:
description: 'An AWS region where the bucket is located'
required: false
aws-endpoint:
description: 'An endpoint of AWS S3 (for compatible software)'
required: false
aws-s3-bucket-endpoint:
description: 'Whether to use the bucket name as the endpoint for this request.'
required: false
default: 'true'
aws-s3-force-path-style:
description: 'Whether to force path style URLs for S3 objects.'
required: false
default: 'false'
runs:
using: 'node16'
main: '../dist/save-only/index.js'
branding:
icon: 'archive'
color: 'gray-dark'